Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001889/0.001889, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.00211/0.00211, allocations: 209.3 kB / 24.54 MB, free: 4.055 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.467/1.467, allocations: 230.6 MB / 258.2 MB, free: 8.066 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 64.78 kB / 379 MB, free: 2.676 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2376, allocations: 53.36 MB / 432.4 MB, free: 6.977 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nor): time 0.01495/0.2526, allocations: 14.25 MB / 446.6 MB, free: 8.676 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.02575/0.2783, allocations: 20.43 MB / 467.1 MB, free: 4.168 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002603/0.2809, allocations: 197.8 kB / 467.3 MB, free: 3.973 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.00334/0.2843, allocations: 1.127 MB / 468.4 MB, free: 2.844 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.008111/0.2924, allocations: 2.335 MB / 470.7 MB, free: 500 kB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00477/0.2971, allocations: 1.461 MB / 472.2 MB, free: 15.03 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.01078/0.3079, allocations: 6.548 MB / 478.7 MB, free: 8.457 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0006175/0.3085, allocations: 249 kB / 479 MB, free: 8.18 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001772/0.3103, allocations: 1.14 MB / 480.1 MB, free: 7.035 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001388/0.3117, allocations: 1.083 MB / 481.2 MB, free: 5.945 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001651/0.3119, allocations: 72 kB / 481.3 MB, free: 5.875 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.003725/0.3156, allocations: 1.487 MB / 482.8 MB, free: 4.387 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0003376/0.3159, allocations: 325.7 kB / 483.1 MB, free: 4.066 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001313/0.3172, allocations: 1.32 MB / 484.4 MB, free: 2.738 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.005117/0.3224, allocations: 3.706 MB / 488.1 MB, free: 15.02 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3224, allocations: 0 / 488.1 MB, free: 15.02 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.582e-06/0.3224, allocations: 4 kB / 488.1 MB, free: 15.01 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 4.079e-05/0.3224, allocations: 0 / 488.1 MB, free: 15.01 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: 149
 * Number of variables: 149
Notification: Performance of Generate backend data structure: time 0.005517/0.3279, allocations: 3.606 MB / 491.7 MB, free: 11.35 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.328, allocations: 8.031 kB / 491.7 MB, free: 11.34 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004599/0.3284, allocations: 405.5 kB / 492.1 MB, free: 10.95 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.003916/0.3323, allocations: 2.371 MB / 494.5 MB, free: 8.477 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.625e-05/0.3324, allocations: 40.94 kB / 494.5 MB, free: 8.434 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.3326, allocations: 51.98 kB / 494.6 MB, free: 8.383 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.3341, allocations: 0.7577 MB / 495.3 MB, free: 7.621 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.3341, allocations: 0 / 495.3 MB, free: 7.621 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.029e-05/0.3342, allocations: 24 kB / 495.4 MB, free: 7.598 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.3342, allocations: 19.98 kB / 495.4 MB, free: 7.578 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001845/0.3361, allocations: 0.8553 MB / 496.2 MB, free: 6.723 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005354/0.3414, allocations: 2.93 MB / 499.2 MB, free: 3.73 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001719/0.3431, allocations: 0.713 MB / 499.9 MB, free: 3.012 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001491/0.3446, allocations: 0.8712 MB / 0.489 GB, free: 2.141 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.02616/0.3708, allocations: 13.76 MB / 0.5024 GB, free: 3.996 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001239/0.372, allocations: 0.5918 MB / 0.503 GB, free: 3.395 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=96): time 3.587e-06/0.372, allocations: 0 / 0.503 GB, free: 3.395 MB / 414.1 MB
Notification: Performance of matching and sorting (n=99): time 0.01193/0.384, allocations: 4.525 MB / 0.5074 GB, free: 14.8 MB / 430.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.384, allocations: 68.39 kB / 0.5075 GB, free: 14.72 MB / 430.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003582/0.3876, allocations: 2.696 MB / 0.5101 GB, free: 12.01 MB / 430.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001247/0.3877, allocations: 41.7 kB / 0.5102 GB, free: 11.96 MB / 430.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001222/0.3889, allocations: 1.308 MB / 0.5115 GB, free: 10.65 MB / 430.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0003396/0.3893, allocations: 353 kB / 0.5118 GB, free: 10.3 MB / 430.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003743/0.3897, allocations: 234.4 kB / 0.512 GB, free: 10.07 MB / 430.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001629/0.3898, allocations: 345.9 kB / 0.5124 GB, free: 9.727 MB / 430.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/0.3911, allocations: 478 kB / 0.5128 GB, free: 9.262 MB / 430.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/0.3925, allocations: 0.647 MB / 0.5134 GB, free: 8.551 MB / 430.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002575/0.3951, allocations: 1.13 MB / 0.5145 GB, free: 7.359 MB / 430.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.3951, allocations: 7.938 kB / 0.5145 GB, free: 7.352 MB / 430.1 MB
Notification: Performance of matching and sorting (n=133) (initialization): time 0.004117/0.3992, allocations: 1.835 MB / 0.5163 GB, free: 5.473 MB / 430.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.3992, allocations: 4 kB / 0.5163 GB, free: 5.469 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002078/0.3994, allocations: 128 kB / 0.5165 GB, free: 5.344 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0007254/0.4002, allocations: 264.8 kB / 0.5167 GB, free: 5.055 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009055/0.4011, allocations: 195.7 kB / 0.5169 GB, free: 4.863 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/0.4114, allocations: 13.23 MB / 0.5298 GB, free: 6.496 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.4128, allocations: 91.95 kB / 0.5299 GB, free: 6.406 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/0.4129, allocations: 60 kB / 0.53 GB, free: 6.348 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.0008603/0.4138, allocations: 417.6 kB / 0.5304 GB, free: 5.93 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000566/0.4144, allocations: 393.5 kB / 0.5307 GB, free: 5.543 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004926/0.4193, allocations: 2.052 MB / 0.5327 GB, free: 3.453 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.4193, allocations: 12 kB / 0.5328 GB, free: 3.441 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.4193, allocations: 4 kB / 0.5328 GB, free: 3.438 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.4193, allocations: 7.969 kB / 0.5328 GB, free: 3.43 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/0.4215, allocations: 1.518 MB / 0.5343 GB, free: 1.863 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001683/0.4217, allocations: 108 kB / 0.5344 GB, free: 1.758 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007307/0.4224, allocations: 139.8 kB / 0.5345 GB, free: 1.621 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0006891/0.4231, allocations: 268.3 kB / 0.5347 GB, free: 1.328 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.873e-05/0.4232, allocations: 43.98 kB / 0.5348 GB, free: 1.285 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.199/0.6221, allocations: 13.21 MB / 0.5477 GB, free: 92.91 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.6221, allocations: 6.25 kB / 0.5477 GB, free: 92.91 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004828/0.627, allocations: 2.408 MB / 0.55 GB, free: 92.2 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.000787/0.6278, allocations: 440.6 kB / 0.5505 GB, free: 92.14 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002821/0.628, allocations: 17.16 kB / 0.5505 GB, free: 92.13 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009144/0.6289, allocations: 79.92 kB / 0.5506 GB, free: 92.12 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003522/0.6293, allocations: 148.2 kB / 0.5507 GB, free: 92.09 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-05/0.6294, allocations: 51.41 kB / 0.5507 GB, free: 92.08 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.00223/0.6316, allocations: 1.772 MB / 0.5525 GB, free: 91.44 MB / 446.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.6316, allocations: 3.438 kB / 0.5525 GB, free: 91.44 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.001529/0.6331, allocations: 0.658 MB / 0.5531 GB, free: 91.4 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.0009983/0.6341, allocations: 0.8015 MB / 0.5539 GB, free: 91.23 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.003274/0.6374, allocations: 2.452 MB / 0.5563 GB, free: 89.65 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6374, allocations: 0 / 0.5563 GB, free: 89.65 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.002009/0.6394, allocations: 1.906 MB / 0.5582 GB, free: 88.2 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002124/0.6416, allocations: 0.6183 MB / 0.5588 GB, free: 87.97 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005509/0.6471, allocations: 4.757 MB / 0.5634 GB, free: 85.52 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007365/0.6478, allocations: 1.658 MB / 0.565 GB, free: 84.33 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.001052/0.6489, allocations: 397.3 kB / 0.5654 GB, free: 83.98 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002421/0.6491, allocations: 163.4 kB / 0.5656 GB, free: 83.82 MB / 446.1 MB
Notification: Performance of SimCode: time 1.042e-06/0.6491, allocations: 0 / 0.5656 GB, free: 83.82 MB / 446.1 MB
Notification: Performance of Templates: time 0.05049/0.6996, allocations: 37.98 MB / 0.6027 GB, free: 46.16 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Nor/Nor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 6.1555848103016615]