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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00154/0.00154, allocations: 110.2 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001754/0.001754, allocations: 214.6 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 230.2 MB / 256.8 MB, free: 8.629 MB / 206.1 MB [Timeout remaining time 88] 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.001799/0.001799, allocations: 63.89 kB / 376.9 MB, free: 3.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2608, allocations: 53.32 MB / 430.2 MB, free: 7.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nand): time 0.01408/0.2749, allocations: 14.06 MB / 444.2 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02446/0.2994, allocations: 20.37 MB / 464.6 MB, free: 4.949 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002556/0.3019, allocations: 122.9 kB / 464.7 MB, free: 4.828 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003395/0.3053, allocations: 1.117 MB / 465.9 MB, free: 3.707 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01258/0.3179, allocations: 2.315 MB / 468.2 MB, free: 1.375 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007496/0.3254, allocations: 1.437 MB / 469.6 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01557/0.341, allocations: 6.461 MB / 476.1 MB, free: 9.453 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009327/0.3419, allocations: 252.4 kB / 476.3 MB, free: 9.172 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002266/0.3442, allocations: 1.073 MB / 477.4 MB, free: 8.094 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002492/0.3467, allocations: 1.048 MB / 478.4 MB, free: 7.039 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005373/0.3472, allocations: 72 kB / 478.5 MB, free: 6.969 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006867/0.3541, allocations: 1.475 MB / 480 MB, free: 5.492 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005265/0.3546, allocations: 309.7 kB / 480.3 MB, free: 5.188 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002024/0.3566, allocations: 1.3 MB / 481.6 MB, free: 3.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006402/0.363, allocations: 3.655 MB / 485.2 MB, free: 212 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.363, allocations: 0 / 485.2 MB, free: 212 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.363, allocations: 0 / 485.2 MB, free: 212 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001194/0.3631, allocations: 3.938 kB / 485.2 MB, free: 208 kB / 382.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.005685/0.3688, allocations: 3.614 MB / 488.9 MB, free: 12.51 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.3689, allocations: 12.03 kB / 488.9 MB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004741/0.3693, allocations: 389.6 kB / 489.2 MB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003871/0.3732, allocations: 2.547 MB / 491.8 MB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/0.3732, allocations: 29 kB / 491.8 MB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.3734, allocations: 51.98 kB / 491.9 MB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.3747, allocations: 0.7031 MB / 492.6 MB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.3747, allocations: 0 / 492.6 MB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.513e-05/0.3748, allocations: 16 kB / 492.6 MB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.028e-05/0.3748, allocations: 23.92 kB / 492.6 MB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.3764, allocations: 0.7851 MB / 493.4 MB, free: 7.879 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004859/0.3812, allocations: 2.891 MB / 496.3 MB, free: 4.922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.3825, allocations: 0.6312 MB / 496.9 MB, free: 4.262 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009874/0.3835, allocations: 0.5766 MB / 497.5 MB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03294/0.4164, allocations: 30.73 MB / 0.5158 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007797/0.4172, allocations: 365.6 kB / 0.5162 GB, free: 344 kB / 430.1 MB Notification: Performance of pre-optimization done (n=49): time 2.515e-06/0.4172, allocations: 0 / 0.5162 GB, free: 344 kB / 430.1 MB Notification: Performance of matching and sorting (n=49): time 0.003256/0.4205, allocations: 1.393 MB / 0.5176 GB, free: 14.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.4205, allocations: 67.33 kB / 0.5176 GB, free: 14.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003639/0.4242, allocations: 2.799 MB / 0.5204 GB, free: 12.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.85e-05/0.4242, allocations: 29.7 kB / 0.5204 GB, free: 11.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001242/0.4255, allocations: 1.404 MB / 0.5218 GB, free: 10.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.4257, allocations: 170.6 kB / 0.5219 GB, free: 10.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003139/0.426, allocations: 226.4 kB / 0.5221 GB, free: 10.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.4261, allocations: 337.9 kB / 0.5225 GB, free: 9.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005964/0.4267, allocations: 233.9 kB / 0.5227 GB, free: 9.613 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008498/0.4276, allocations: 0.5929 MB / 0.5233 GB, free: 8.848 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001661/0.4292, allocations: 0.8841 MB / 0.5241 GB, free: 7.789 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/0.4292, allocations: 4 kB / 0.5241 GB, free: 7.785 MB / 446.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003198/0.4324, allocations: 1.281 MB / 0.5254 GB, free: 6.496 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.4325, allocations: 8 kB / 0.5254 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000122/0.4326, allocations: 84 kB / 0.5255 GB, free: 6.406 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005795/0.4332, allocations: 284.2 kB / 0.5257 GB, free: 6.129 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005836/0.4338, allocations: 171.6 kB / 0.5259 GB, free: 5.961 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/0.4348, allocations: 0.8841 MB / 0.5268 GB, free: 5.051 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.4359, allocations: 115.2 kB / 0.5269 GB, free: 4.938 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.436, allocations: 64 kB / 0.5269 GB, free: 4.875 MB / 446.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.0007512/0.4368, allocations: 425.3 kB / 0.5273 GB, free: 4.449 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004075/0.4372, allocations: 385.7 kB / 0.5277 GB, free: 4.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002826/0.44, allocations: 1.255 MB / 0.5289 GB, free: 2.793 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.924e-06/0.44, allocations: 4 kB / 0.5289 GB, free: 2.789 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.44, allocations: 8 kB / 0.5289 GB, free: 2.781 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.44, allocations: 7.922 kB / 0.529 GB, free: 2.773 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003817/0.4439, allocations: 2.178 MB / 0.5311 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.97e-05/0.444, allocations: 71.98 kB / 0.5311 GB, free: 456 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003184/0.4443, allocations: 67.88 kB / 0.5312 GB, free: 388 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004869/0.4448, allocations: 264.8 kB / 0.5315 GB, free: 120 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-05/0.4448, allocations: 35.92 kB / 0.5315 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009711/0.4458, allocations: 0.8565 MB / 0.5323 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.4458, allocations: 4.031 kB / 0.5323 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002137/0.4479, allocations: 1.135 MB / 0.5334 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009327/0.4489, allocations: 482.4 kB / 0.5339 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000275/0.4491, allocations: 19.92 kB / 0.5339 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006862/0.4498, allocations: 31.97 kB / 0.534 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/0.45, allocations: 55.95 kB / 0.534 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.303e-05/0.4501, allocations: 43.98 kB / 0.5341 GB, free: 13.38 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003125/0.4532, allocations: 1.82 MB / 0.5358 GB, free: 11.56 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4532, allocations: 0 / 0.5358 GB, free: 11.56 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001627/0.4549, allocations: 0.5735 MB / 0.5364 GB, free: 10.98 MB / 462.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.001294/0.4562, allocations: 0.772 MB / 0.5371 GB, free: 10.21 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00189/0.458, allocations: 0.8111 MB / 0.5379 GB, free: 9.379 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.458, allocations: 0 / 0.5379 GB, free: 9.379 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009283/0.459, allocations: 476.2 kB / 0.5384 GB, free: 8.891 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00262/0.4616, allocations: 0.6067 MB / 0.539 GB, free: 8.277 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006592/0.4682, allocations: 4.058 MB / 0.5429 GB, free: 4.156 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001208/0.4694, allocations: 1.604 MB / 0.5445 GB, free: 2.523 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003916/0.4698, allocations: 171.4 kB / 0.5447 GB, free: 2.355 MB / 462.1 MB Notification: Performance of SimCode: time 1.753e-06/0.4698, allocations: 0 / 0.5447 GB, free: 2.355 MB / 462.1 MB Notification: Performance of Templates: time 0.2721/0.7419, allocations: 48.16 MB / 0.5917 GB, free: 84.3 MB / 462.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Nand/Nand.csv","/var/lib/jenkins1/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