Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001487/0.001487, allocations: 106.9 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002156/0.002156, allocations: 218.6 kB / 22.99 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.575/1.575, allocations: 230.2 MB / 256.2 MB, free: 8.527 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 67.89 kB / 376.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2715, allocations: 53.33 MB / 429.8 MB, free: 7.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006753/0.2783, allocations: 4.984 MB / 434.8 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00297/0.2813, allocations: 1.299 MB / 436.1 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004178/0.2817, allocations: 11.94 kB / 436.1 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003557/0.282, allocations: 122.7 kB / 436.2 MB, free: 1.098 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005802/0.2826, allocations: 261.7 kB / 436.5 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.2836, allocations: 311.3 kB / 436.8 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001445/0.2851, allocations: 1.099 MB / 437.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004136/0.2855, allocations: 186.5 kB / 438.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005446/0.286, allocations: 426.5 kB / 438.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000647/0.2867, allocations: 478 kB / 439 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001497/0.2868, allocations: 92 kB / 439.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002357/0.2871, allocations: 116 kB / 439.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002328/0.2873, allocations: 195.3 kB / 439.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004893/0.2878, allocations: 453.8 kB / 439.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.2891, allocations: 1.036 MB / 440.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.2891, allocations: 0 / 440.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2891, allocations: 4 kB / 440.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.501e-05/0.2891, allocations: 4 kB / 440.8 MB, free: 12.46 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.003028/0.2921, allocations: 1.281 MB / 442.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.307e-05/0.2922, allocations: 8.031 kB / 442.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002431/0.2924, allocations: 104.3 kB / 442.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000827/0.2933, allocations: 484 kB / 442.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.651e-05/0.2933, allocations: 53.67 kB / 442.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.2935, allocations: 68.33 kB / 442.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/0.295, allocations: 0.6548 MB / 443.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.295, allocations: 0 / 443.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.96e-05/0.2951, allocations: 28 kB / 443.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.741e-05/0.2951, allocations: 19.98 kB / 443.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001668/0.2968, allocations: 0.6883 MB / 444.2 MB, free: 8.98 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004442/0.3012, allocations: 2.379 MB / 446.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.3027, allocations: 0.558 MB / 447.2 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007483/0.3034, allocations: 309.9 kB / 447.5 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.523e-05/0.3035, allocations: 16.36 kB / 447.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009735/0.3045, allocations: 425.4 kB / 447.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 3.236e-06/0.3045, allocations: 8 kB / 447.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.06875/0.3732, allocations: 15.39 MB / 463.3 MB, free: 5.629 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001516/0.3734, allocations: 141.5 kB / 463.4 MB, free: 5.461 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008763/0.3742, allocations: 0.5225 MB / 463.9 MB, free: 4.926 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000214/0.3745, allocations: 45.69 kB / 464 MB, free: 4.875 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003613/0.3748, allocations: 388.8 kB / 464.4 MB, free: 4.488 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000346/0.3752, allocations: 329.2 kB / 464.7 MB, free: 4.164 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004205/0.3756, allocations: 186.6 kB / 464.9 MB, free: 3.977 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002314/0.3758, allocations: 386.7 kB / 465.2 MB, free: 3.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002038/0.3778, allocations: 0.7244 MB / 466 MB, free: 2.863 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002269/0.3801, allocations: 0.9668 MB / 466.9 MB, free: 1.812 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004119/0.3842, allocations: 1.697 MB / 468.6 MB, free: 20 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.3842, allocations: 7.938 kB / 468.6 MB, free: 12 kB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02405/0.4083, allocations: 5.328 MB / 474 MB, free: 10.65 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.4084, allocations: 71.41 kB / 474 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.4084, allocations: 4 kB / 474 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05002/0.4584, allocations: 6.829 MB / 480.9 MB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.4595, allocations: 147.7 kB / 481 MB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009581/0.4691, allocations: 3.017 MB / 484 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002561/0.4717, allocations: 179.8 kB / 484.2 MB, free: 336 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002211/0.4719, allocations: 43.98 kB / 484.3 MB, free: 292 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 (V2.signalSource.count,$PRE.V2.signalSource.count,V2.signalSource.T_start,$PRE.V2.signalSource.T_start,V1.signalSource.count,$PRE.V1.signalSource.count,V1.signalSource.T_start,$PRE.V1.signalSource.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,32), (5,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0006301/0.4725, allocations: 229.6 kB / 484.5 MB, free: 52 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003037/0.4728, allocations: 87.48 kB / 484.6 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02673/0.4995, allocations: 5.056 MB / 489.6 MB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-05/0.4996, allocations: 11.98 kB / 489.6 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.4996, allocations: 4 kB / 489.6 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.777e-05/0.4996, allocations: 3.984 kB / 489.6 MB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001754/0.5014, allocations: 1.112 MB / 490.7 MB, free: 9.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.5014, allocations: 0 / 490.7 MB, free: 9.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005202/0.5019, allocations: 96.06 kB / 490.8 MB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03538/0.5373, allocations: 6.781 MB / 497.6 MB, free: 2.824 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002588/0.5375, allocations: 31.97 kB / 497.7 MB, free: 2.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006293/0.5438, allocations: 3.029 MB / 0.4889 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.5438, allocations: 0 / 0.4889 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02469/0.5685, allocations: 5.944 MB / 0.4948 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003091/0.5688, allocations: 152.5 kB / 0.4949 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.569, allocations: 19.94 kB / 0.4949 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/0.5704, allocations: 171.8 kB / 0.4951 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002826/0.5707, allocations: 92.88 kB / 0.4952 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.533e-05/0.5707, allocations: 39.91 kB / 0.4952 GB, free: 9.246 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005236/0.5713, allocations: 362.8 kB / 0.4956 GB, free: 8.891 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5713, allocations: 0 / 0.4956 GB, free: 8.891 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001035/0.5723, allocations: 259.9 kB / 0.4958 GB, free: 8.637 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (HeatCapacitor1.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,V1.signalSource.T_start,V1.signalSource.count,V2.signalSource.T_start,V2.signalSource.count) * Number of discrete states: 2 (V2.signalSource.count,V1.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,32), (5,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003152/0.5726, allocations: 130.8 kB / 0.4959 GB, free: 8.504 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008692/0.5813, allocations: 1.966 MB / 0.4978 GB, free: 6.512 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.5813, allocations: 0 / 0.4978 GB, free: 6.512 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005753/0.5871, allocations: 1.015 MB / 0.4988 GB, free: 5.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.5883, allocations: 130.4 kB / 0.499 GB, free: 5.367 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005634/0.5939, allocations: 1.813 MB / 0.5007 GB, free: 3.523 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008209/0.5948, allocations: 0.9584 MB / 0.5017 GB, free: 2.539 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004302/0.5952, allocations: 58.27 kB / 0.5017 GB, free: 2.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.5954, allocations: 35.42 kB / 0.5018 GB, free: 2.445 MB / 414.1 MB Notification: Performance of SimCode: time 2.094e-06/0.5954, allocations: 4 kB / 0.5018 GB, free: 2.441 MB / 414.1 MB Notification: Performance of Templates: time 0.05865/0.654, allocations: 23.79 MB / 0.525 GB, free: 10.75 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.2674349984154105]