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.001923/0.001923, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.002248/0.002248, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.489/1.489, allocations: 230.2 MB / 255.1 MB, free: 15.25 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.001904/0.001904, allocations: 63.91 kB / 374.5 MB, free: 9.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1029, allocations: 53.33 MB / 427.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nand): time 0.1888/0.2917, allocations: 14.06 MB / 441.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02487/0.3165, allocations: 20.36 MB / 462.3 MB, free: 4.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002584/0.3191, allocations: 127.8 kB / 462.4 MB, free: 4.695 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003432/0.3226, allocations: 1.129 MB / 463.5 MB, free: 4.102 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008889/0.3315, allocations: 2.286 MB / 465.8 MB, free: 2.707 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005186/0.3366, allocations: 1.432 MB / 467.2 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01148/0.3481, allocations: 6.452 MB / 473.7 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006323/0.3488, allocations: 256.6 kB / 473.9 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001892/0.3506, allocations: 1.068 MB / 475 MB, free: 14.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001578/0.3522, allocations: 1.049 MB / 476 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001961/0.3524, allocations: 70.25 kB / 476.1 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004812/0.3572, allocations: 1.48 MB / 477.6 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004326/0.3577, allocations: 311.2 kB / 477.9 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001806/0.3595, allocations: 1.293 MB / 479.2 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006414/0.3659, allocations: 3.66 MB / 482.8 MB, free: 9.609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3659, allocations: 0 / 482.8 MB, free: 9.609 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3659, allocations: 0 / 482.8 MB, free: 9.609 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.668e-05/0.366, allocations: 0.8438 kB / 482.9 MB, free: 9.609 MB / 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.005931/0.3719, allocations: 3.622 MB / 486.5 MB, free: 6.016 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.3719, allocations: 8.031 kB / 486.5 MB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004826/0.3724, allocations: 389.6 kB / 486.9 MB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003863/0.3763, allocations: 2.539 MB / 489.4 MB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.669e-05/0.3763, allocations: 33 kB / 489.4 MB, free: 2.977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.3765, allocations: 55.94 kB / 489.5 MB, free: 2.922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.3779, allocations: 0.6992 MB / 490.2 MB, free: 2.219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.3779, allocations: 0 / 490.2 MB, free: 2.219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.877e-05/0.378, allocations: 16 kB / 490.2 MB, free: 2.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.379e-05/0.378, allocations: 19.98 kB / 490.2 MB, free: 2.184 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001667/0.3797, allocations: 0.7889 MB / 491 MB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005128/0.3848, allocations: 2.888 MB / 493.9 MB, free: 14.44 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.3862, allocations: 0.6234 MB / 494.5 MB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.3872, allocations: 0.5823 MB / 495.1 MB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03414/0.4214, allocations: 30.73 MB / 0.5135 GB, free: 10.22 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008275/0.4222, allocations: 369.5 kB / 0.5139 GB, free: 9.848 MB / 430.1 MB Notification: Performance of pre-optimization done (n=49): time 2.435e-06/0.4222, allocations: 0 / 0.5139 GB, free: 9.848 MB / 430.1 MB Notification: Performance of matching and sorting (n=49): time 0.003508/0.4257, allocations: 1.386 MB / 0.5152 GB, free: 8.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.4258, allocations: 71.33 kB / 0.5153 GB, free: 8.348 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003669/0.4294, allocations: 2.799 MB / 0.518 GB, free: 5.527 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.642e-05/0.4295, allocations: 33.7 kB / 0.518 GB, free: 5.488 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001301/0.4308, allocations: 1.4 MB / 0.5194 GB, free: 4.082 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/0.431, allocations: 182.5 kB / 0.5196 GB, free: 3.902 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003515/0.4313, allocations: 222.3 kB / 0.5198 GB, free: 3.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.4315, allocations: 338 kB / 0.5201 GB, free: 3.344 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006468/0.4321, allocations: 245.8 kB / 0.5204 GB, free: 3.105 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009025/0.433, allocations: 0.5813 MB / 0.5209 GB, free: 2.355 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001541/0.4346, allocations: 0.8724 MB / 0.5218 GB, free: 1.316 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.4346, allocations: 4 kB / 0.5218 GB, free: 1.312 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002466/0.4371, allocations: 1.281 MB / 0.523 GB, free: 20 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.4371, allocations: 12 kB / 0.523 GB, free: 8 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001324/0.4372, allocations: 84.94 kB / 0.5231 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005853/0.4378, allocations: 279.5 kB / 0.5234 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006351/0.4384, allocations: 167.6 kB / 0.5236 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/0.4395, allocations: 0.878 MB / 0.5244 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.4406, allocations: 125.1 kB / 0.5245 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.4407, allocations: 64 kB / 0.5246 GB, free: 14.4 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.0007488/0.4415, allocations: 425.5 kB / 0.525 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004026/0.4419, allocations: 381.6 kB / 0.5254 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002966/0.4449, allocations: 1.262 MB / 0.5266 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.4449, allocations: 4 kB / 0.5266 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4449, allocations: 0 / 0.5266 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.4449, allocations: 3.938 kB / 0.5266 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003848/0.4487, allocations: 2.197 MB / 0.5287 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001014/0.4488, allocations: 68 kB / 0.5288 GB, free: 9.977 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003241/0.4492, allocations: 63.88 kB / 0.5289 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005169/0.4497, allocations: 260.9 kB / 0.5291 GB, free: 9.656 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.706e-05/0.4497, allocations: 28 kB / 0.5291 GB, free: 9.629 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/0.4508, allocations: 0.8673 MB / 0.53 GB, free: 8.738 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4508, allocations: 0 / 0.53 GB, free: 8.738 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002061/0.4528, allocations: 1.138 MB / 0.5311 GB, free: 7.562 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008186/0.4536, allocations: 482.4 kB / 0.5316 GB, free: 7.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002558/0.4539, allocations: 17 kB / 0.5316 GB, free: 7.055 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006563/0.4546, allocations: 31.95 kB / 0.5316 GB, free: 7.023 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.4547, allocations: 55.95 kB / 0.5317 GB, free: 6.969 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.839e-05/0.4548, allocations: 39.98 kB / 0.5317 GB, free: 6.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002534/0.4573, allocations: 1.824 MB / 0.5335 GB, free: 5.102 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4573, allocations: 0 / 0.5335 GB, free: 5.102 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00142/0.4587, allocations: 0.5696 MB / 0.534 GB, free: 4.531 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.001203/0.4599, allocations: 0.781 MB / 0.5348 GB, free: 3.742 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001824/0.4618, allocations: 0.8111 MB / 0.5356 GB, free: 2.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4618, allocations: 0 / 0.5356 GB, free: 2.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009745/0.4627, allocations: 472 kB / 0.536 GB, free: 2.426 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/0.4652, allocations: 0.6118 MB / 0.5366 GB, free: 1.816 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005876/0.471, allocations: 4.046 MB / 0.5406 GB, free: 13.71 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/0.4723, allocations: 1.6 MB / 0.5422 GB, free: 12.08 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002978/0.4726, allocations: 171.4 kB / 0.5423 GB, free: 11.91 MB / 462.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4726, allocations: 0 / 0.5423 GB, free: 11.91 MB / 462.1 MB Notification: Performance of Templates: time 0.0665/0.5391, allocations: 48.16 MB / 0.5894 GB, free: 11.75 MB / 0.4981 GB " [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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Nand/Nand.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.768394059035927]