Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.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.001787/0.001787, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001981/0.001981, allocations: 209.8 kB / 24.48 MB, free: 3.934 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.475/1.475, allocations: 230.5 MB / 258.1 MB, free: 7.77 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.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|mn1.Dinternal|mn1.Sinternal|mn2.Dinternal|mn2.Sinternal|mp1.Dinternal|mp1.Sinternal|mp2.Dinternal|mp2.Sinternal",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor") translateModel(Modelica.Electrical.Spice3.Examples.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|mn1.Dinternal|mn1.Sinternal|mn2.Dinternal|mn2.Sinternal|mp1.Dinternal|mp1.Sinternal|mp2.Dinternal|mp2.Sinternal",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 59.84 kB / 379 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2414, allocations: 53.4 MB / 432.4 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nor): time 0.01411/0.2555, allocations: 11.98 MB / 444.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02496/0.2804, allocations: 17.58 MB / 461.9 MB, free: 8.844 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002103/0.2825, allocations: 189.8 kB / 462.1 MB, free: 8.656 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003123/0.2857, allocations: 1.035 MB / 463.2 MB, free: 7.621 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007545/0.2932, allocations: 2.32 MB / 465.5 MB, free: 5.281 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004555/0.2978, allocations: 1.422 MB / 466.9 MB, free: 3.859 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009824/0.3076, allocations: 6.54 MB / 473.4 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005572/0.3081, allocations: 241 kB / 473.7 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001641/0.3098, allocations: 1.151 MB / 474.8 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001392/0.3112, allocations: 1.032 MB / 475.9 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002227/0.3114, allocations: 76 kB / 475.9 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003231/0.3146, allocations: 1.206 MB / 477.1 MB, free: 9.551 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003287/0.315, allocations: 325.7 kB / 477.5 MB, free: 9.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.316, allocations: 0.978 MB / 478.4 MB, free: 8.246 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00494/0.321, allocations: 3.737 MB / 482.2 MB, free: 4.492 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.321, allocations: 0 / 482.2 MB, free: 4.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.321, allocations: 3.938 kB / 482.2 MB, free: 4.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.273e-05/0.321, allocations: 0 / 482.2 MB, free: 4.488 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.006141/0.3272, allocations: 3.61 MB / 485.8 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.3272, allocations: 15.98 kB / 485.8 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004969/0.3277, allocations: 393.5 kB / 486.2 MB, free: 432 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004194/0.3319, allocations: 2.386 MB / 488.6 MB, free: 13.94 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.878e-05/0.332, allocations: 37 kB / 488.6 MB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.3321, allocations: 44 kB / 488.6 MB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.3336, allocations: 0.7616 MB / 489.4 MB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.3336, allocations: 3.938 kB / 489.4 MB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.825e-05/0.3337, allocations: 19.98 kB / 489.4 MB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.47e-05/0.3337, allocations: 19.98 kB / 489.4 MB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.3355, allocations: 0.8592 MB / 490.3 MB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005142/0.3407, allocations: 2.67 MB / 493 MB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.3424, allocations: 0.7175 MB / 493.7 MB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00151/0.3439, allocations: 0.8715 MB / 494.6 MB, free: 7.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02707/0.371, allocations: 13.68 MB / 0.4963 GB, free: 9.805 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00122/0.3722, allocations: 0.5918 MB / 0.4969 GB, free: 9.203 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 3.266e-06/0.3722, allocations: 0 / 0.4969 GB, free: 9.203 MB / 414.1 MB Notification: Performance of matching and sorting (n=99): time 0.01235/0.3846, allocations: 4.521 MB / 0.5013 GB, free: 4.617 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/0.3846, allocations: 76.31 kB / 0.5014 GB, free: 4.527 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003596/0.3882, allocations: 2.696 MB / 0.504 GB, free: 1.816 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001515/0.3884, allocations: 41.7 kB / 0.5041 GB, free: 1.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001253/0.3896, allocations: 1.308 MB / 0.5054 GB, free: 468 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003998/0.39, allocations: 353 kB / 0.5057 GB, free: 112 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004005/0.3904, allocations: 242.4 kB / 0.5059 GB, free: 15.87 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3906, allocations: 341.9 kB / 0.5062 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/0.3919, allocations: 478 kB / 0.5067 GB, free: 15.06 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/0.3934, allocations: 0.647 MB / 0.5073 GB, free: 14.35 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002719/0.3961, allocations: 1.137 MB / 0.5084 GB, free: 13.15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3961, allocations: 0 / 0.5084 GB, free: 13.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004238/0.4003, allocations: 1.835 MB / 0.5102 GB, free: 11.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.4004, allocations: 4 kB / 0.5102 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001831/0.4005, allocations: 123.9 kB / 0.5104 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007245/0.4013, allocations: 268.4 kB / 0.5106 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009164/0.4022, allocations: 195.7 kB / 0.5108 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/0.4128, allocations: 12.97 MB / 0.5235 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.4143, allocations: 92.02 kB / 0.5236 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/0.4144, allocations: 56 kB / 0.5236 GB, free: 12.53 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 21 (v.counter,$PRE.v.counter,vin2.counter,$PRE.vin2.counter,vin1.counter,$PRE.vin1.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,vin2.counter2,$PRE.vin2.counter2,vin2.T0,$PRE.vin2.T0,vin1.counter2,$PRE.vin1.counter2,vin1.T0,$PRE.vin1.T0,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008726/0.4153, allocations: 435.8 kB / 0.524 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005227/0.4158, allocations: 397.5 kB / 0.5244 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004981/0.4208, allocations: 2.048 MB / 0.5264 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.4208, allocations: 8 kB / 0.5264 GB, free: 9.613 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/0.4208, allocations: 4 kB / 0.5264 GB, free: 9.609 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.4208, allocations: 3.984 kB / 0.5264 GB, free: 9.605 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002162/0.423, allocations: 1.305 MB / 0.5277 GB, free: 8.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001721/0.4232, allocations: 115.9 kB / 0.5278 GB, free: 8.156 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007511/0.4239, allocations: 131.8 kB / 0.5279 GB, free: 8.027 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000686/0.4246, allocations: 264.3 kB / 0.5282 GB, free: 7.738 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/0.4247, allocations: 55.97 kB / 0.5282 GB, free: 7.684 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2451/0.6699, allocations: 12.97 MB / 0.5409 GB, free: 98.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.6699, allocations: 0 / 0.5409 GB, free: 98.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005919/0.6758, allocations: 2.405 MB / 0.5432 GB, free: 98.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001351/0.6771, allocations: 437.4 kB / 0.5437 GB, free: 98.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004558/0.6776, allocations: 23.11 kB / 0.5437 GB, free: 98.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.6786, allocations: 79.42 kB / 0.5438 GB, free: 98.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004516/0.6791, allocations: 143 kB / 0.5439 GB, free: 98.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/0.6792, allocations: 52.12 kB / 0.5439 GB, free: 98.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003396/0.6826, allocations: 1.766 MB / 0.5457 GB, free: 97.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6826, allocations: 3.969 kB / 0.5457 GB, free: 97.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002047/0.6846, allocations: 0.656 MB / 0.5463 GB, free: 97.54 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (mp1.Dinternal,mp1.Sinternal,mp2.Dinternal,mp2.Sinternal,mn1.Dinternal,mn1.Sinternal,mn2.Dinternal,mn2.Sinternal) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,vin1.T0,vin1.counter,vin1.counter2,vin2.T0,vin2.counter,vin2.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 6 (vin1.counter,vin2.counter,v.counter,vin1.counter2,vin2.counter2,v.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 9 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001478/0.6861, allocations: 0.8171 MB / 0.5471 GB, free: 97.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003836/0.69, allocations: 2.456 MB / 0.5495 GB, free: 95.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.69, allocations: 0 / 0.5495 GB, free: 95.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002162/0.6921, allocations: 1.897 MB / 0.5514 GB, free: 94.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00283/0.695, allocations: 0.6082 MB / 0.552 GB, free: 94.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006489/0.7014, allocations: 4.828 MB / 0.5567 GB, free: 89.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008472/0.7023, allocations: 1.112 MB / 0.5578 GB, free: 89.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004252/0.7027, allocations: 171.4 kB / 0.5579 GB, free: 88.96 MB / 446.1 MB Notification: Performance of SimCode: time 2.334e-06/0.7027, allocations: 0 / 0.5579 GB, free: 88.96 MB / 446.1 MB Notification: Performance of Templates: time 0.1337/0.8364, allocations: 155.8 MB / 0.7101 GB, free: 13.41 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Nor/Nor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.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: 14.45268691983074]