Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nand.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.001824/0.001824, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002103/0.002103, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.472/1.472, allocations: 230.3 MB / 258 MB, free: 8.238 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.Spice3.Examples.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5016,variableFilter="time|mp2.S.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nand") translateModel(Modelica.Electrical.Spice3.Examples.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5016,variableFilter="time|mp2.S.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 63.89 kB / 378.7 MB, free: 2.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2293, allocations: 53.36 MB / 432.1 MB, free: 7.105 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nand): time 0.01522/0.2445, allocations: 14.08 MB / 446.2 MB, free: 8.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02548/0.27, allocations: 20.38 MB / 466.6 MB, free: 4.516 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002027/0.272, allocations: 189.8 kB / 466.8 MB, free: 4.328 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003317/0.2753, allocations: 1.127 MB / 467.9 MB, free: 3.199 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007278/0.2826, allocations: 2.324 MB / 470.2 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004271/0.2869, allocations: 1.441 MB / 471.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01075/0.2976, allocations: 6.474 MB / 478.1 MB, free: 8.918 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005842/0.2982, allocations: 252.9 kB / 478.4 MB, free: 8.637 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001759/0.2999, allocations: 1.108 MB / 479.5 MB, free: 7.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/0.3012, allocations: 1.056 MB / 480.5 MB, free: 6.461 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002048/0.3015, allocations: 68 kB / 480.6 MB, free: 6.395 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004097/0.3055, allocations: 1.479 MB / 482.1 MB, free: 4.914 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003687/0.3059, allocations: 305.7 kB / 482.4 MB, free: 4.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001506/0.3074, allocations: 1.296 MB / 483.7 MB, free: 3.309 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005158/0.3126, allocations: 3.663 MB / 487.3 MB, free: 15.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3126, allocations: 0 / 487.3 MB, free: 15.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3126, allocations: 0 / 487.3 MB, free: 15.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.255e-05/0.3126, allocations: 0 / 487.3 MB, free: 15.63 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.005598/0.3182, allocations: 3.547 MB / 490.9 MB, free: 12.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.3183, allocations: 12.03 kB / 490.9 MB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004626/0.3187, allocations: 393.5 kB / 491.3 MB, free: 11.63 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00391/0.3226, allocations: 2.355 MB / 493.6 MB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.685e-05/0.3227, allocations: 36.98 kB / 493.7 MB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.3228, allocations: 51.95 kB / 493.7 MB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.3243, allocations: 0.707 MB / 494.4 MB, free: 8.375 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.3243, allocations: 0 / 494.4 MB, free: 8.375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.35e-05/0.3243, allocations: 20 kB / 494.4 MB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.718e-05/0.3244, allocations: 19.98 kB / 494.5 MB, free: 8.336 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/0.3261, allocations: 0.7928 MB / 495.3 MB, free: 7.539 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005072/0.3311, allocations: 2.824 MB / 498.1 MB, free: 4.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.3325, allocations: 0.5636 MB / 498.6 MB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/0.3336, allocations: 0.5856 MB / 499.2 MB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02559/0.3591, allocations: 13.76 MB / 0.501 GB, free: 5.363 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008422/0.36, allocations: 365.6 kB / 0.5013 GB, free: 4.996 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 2.635e-06/0.36, allocations: 0 / 0.5013 GB, free: 4.996 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.003419/0.3634, allocations: 1.322 MB / 0.5026 GB, free: 3.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.3635, allocations: 63.34 kB / 0.5027 GB, free: 3.586 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003611/0.3671, allocations: 2.799 MB / 0.5054 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.89e-05/0.3671, allocations: 37.7 kB / 0.5054 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001315/0.3685, allocations: 1.396 MB / 0.5068 GB, free: 15.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/0.3686, allocations: 174.6 kB / 0.507 GB, free: 15.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003125/0.369, allocations: 226.4 kB / 0.5072 GB, free: 14.92 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.3691, allocations: 334 kB / 0.5075 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006295/0.3697, allocations: 237.8 kB / 0.5077 GB, free: 14.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000933/0.3707, allocations: 0.5966 MB / 0.5083 GB, free: 13.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/0.3723, allocations: 0.8802 MB / 0.5092 GB, free: 12.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.3723, allocations: 4 kB / 0.5092 GB, free: 12.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00251/0.3748, allocations: 1.281 MB / 0.5104 GB, free: 11.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.3748, allocations: 14.66 kB / 0.5104 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001229/0.3749, allocations: 83.98 kB / 0.5105 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005888/0.3755, allocations: 280.7 kB / 0.5108 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006138/0.3761, allocations: 167.7 kB / 0.5109 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.3772, allocations: 0.8872 MB / 0.5118 GB, free: 9.809 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009857/0.3782, allocations: 115.3 kB / 0.5119 GB, free: 9.695 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.3783, allocations: 60 kB / 0.512 GB, free: 9.637 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 14 (vin1.counter,$PRE.vin1.counter,vin2.counter,$PRE.vin2.counter,vin2.counter2,$PRE.vin2.counter2,vin2.T0,$PRE.vin2.T0,vin1.counter2,$PRE.vin1.counter2,vin1.T0,$PRE.vin1.T0,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0007741/0.3791, allocations: 434 kB / 0.5124 GB, free: 9.203 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003997/0.3795, allocations: 373.7 kB / 0.5127 GB, free: 8.836 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002982/0.3825, allocations: 1.263 MB / 0.514 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.3825, allocations: 4 kB / 0.514 GB, free: 7.555 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3825, allocations: 4 kB / 0.514 GB, free: 7.551 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.3825, allocations: 3.938 kB / 0.514 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003989/0.3865, allocations: 2.153 MB / 0.5161 GB, free: 5.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001058/0.3866, allocations: 79.95 kB / 0.5162 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003466/0.3869, allocations: 63.89 kB / 0.5162 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005109/0.3874, allocations: 256.8 kB / 0.5165 GB, free: 4.926 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-05/0.3875, allocations: 32 kB / 0.5165 GB, free: 4.895 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/0.3885, allocations: 0.8531 MB / 0.5173 GB, free: 4.016 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3885, allocations: 0 / 0.5173 GB, free: 4.016 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002092/0.3906, allocations: 1.154 MB / 0.5185 GB, free: 2.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009029/0.3915, allocations: 411.2 kB / 0.5189 GB, free: 2.414 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002865/0.3918, allocations: 15.98 kB / 0.5189 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006842/0.3925, allocations: 31.97 kB / 0.5189 GB, free: 2.367 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.3927, allocations: 63.92 kB / 0.519 GB, free: 2.305 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-05/0.3927, allocations: 36 kB / 0.519 GB, free: 2.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002658/0.3954, allocations: 1.824 MB / 0.5208 GB, free: 452 kB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3954, allocations: 0 / 0.5208 GB, free: 452 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.001404/0.3968, allocations: 0.5619 MB / 0.5213 GB, free: 15.88 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin1.T0,vin1.counter,vin1.counter2,vin2.T0,vin2.counter,vin2.counter2) * Number of discrete states: 4 (vin1.counter2,vin2.counter2,vin1.counter,vin2.counter) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00123/0.398, allocations: 0.7719 MB / 0.5221 GB, free: 15.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001992/0.4, allocations: 0.8216 MB / 0.5229 GB, free: 14.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.4, allocations: 1.062 kB / 0.5229 GB, free: 14.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.401, allocations: 480 kB / 0.5233 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002593/0.4036, allocations: 0.5951 MB / 0.5239 GB, free: 13.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006229/0.4099, allocations: 3.983 MB / 0.5278 GB, free: 9.129 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/0.4111, allocations: 1.604 MB / 0.5294 GB, free: 7.496 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001139/0.4123, allocations: 390.9 kB / 0.5298 GB, free: 7.109 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002572/0.4125, allocations: 159.4 kB / 0.5299 GB, free: 6.953 MB / 446.1 MB Notification: Performance of SimCode: time 8.61e-07/0.4125, allocations: 0 / 0.5299 GB, free: 6.953 MB / 446.1 MB Notification: Performance of Templates: time 0.2477/0.6603, allocations: 34.11 MB / 0.5632 GB, free: 86.71 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nand.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nand.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nand.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nand.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nand.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nand.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Nand/Nand.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nand.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: 5.851205626502633]