Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Nor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002214/0.002214, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.651/1.651, allocations: 230.6 MB / 258.2 MB, free: 7.789 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.Spice3.Examples.Nor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 51.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3267, allocations: 53.37 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nor): time 0.01449/0.3412, allocations: 11.97 MB / 444.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02622/0.3674, allocations: 17.59 MB / 461.9 MB, free: 9.035 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002942/0.3703, allocations: 189.8 kB / 462.1 MB, free: 8.848 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003628/0.374, allocations: 1.031 MB / 463.1 MB, free: 7.816 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008958/0.3829, allocations: 2.324 MB / 465.4 MB, free: 5.473 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005602/0.3885, allocations: 1.418 MB / 466.8 MB, free: 4.055 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01268/0.4012, allocations: 6.544 MB / 473.4 MB, free: 13.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008101/0.402, allocations: 245 kB / 473.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002291/0.4043, allocations: 1.151 MB / 474.8 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001735/0.406, allocations: 1.079 MB / 475.8 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002331/0.4063, allocations: 76 kB / 475.9 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004517/0.4108, allocations: 1.245 MB / 477.2 MB, free: 9.652 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004415/0.4112, allocations: 317.8 kB / 477.5 MB, free: 9.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001555/0.4128, allocations: 0.9741 MB / 478.5 MB, free: 8.359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007581/0.4204, allocations: 3.745 MB / 482.2 MB, free: 4.598 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.4204, allocations: 0 / 482.2 MB, free: 4.598 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4204, allocations: 0 / 482.2 MB, free: 4.598 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.533e-05/0.4204, allocations: 4 kB / 482.2 MB, free: 4.594 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.007367/0.4278, allocations: 3.61 MB / 485.8 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.152e-05/0.4279, allocations: 12.03 kB / 485.8 MB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008639/0.4288, allocations: 397.5 kB / 486.2 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004982/0.4337, allocations: 2.375 MB / 488.6 MB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.311e-05/0.4338, allocations: 33 kB / 488.6 MB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.4339, allocations: 55.98 kB / 488.7 MB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/0.4356, allocations: 0.7655 MB / 489.4 MB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.4356, allocations: 0 / 489.4 MB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-05/0.4357, allocations: 20 kB / 489.5 MB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.124e-05/0.4357, allocations: 19.98 kB / 489.5 MB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/0.4376, allocations: 0.8553 MB / 490.3 MB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005675/0.4433, allocations: 2.678 MB / 493 MB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001843/0.4452, allocations: 0.713 MB / 493.7 MB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001568/0.4467, allocations: 0.8723 MB / 494.6 MB, free: 7.984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02919/0.4759, allocations: 13.68 MB / 0.4964 GB, free: 9.922 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001381/0.4773, allocations: 0.6035 MB / 0.4969 GB, free: 9.309 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 3.136e-06/0.4773, allocations: 0 / 0.4969 GB, free: 9.309 MB / 414.1 MB Notification: Performance of matching and sorting (n=99): time 0.01293/0.4902, allocations: 4.521 MB / 0.5014 GB, free: 4.723 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.877e-05/0.4903, allocations: 68.39 kB / 0.5014 GB, free: 4.641 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004114/0.4944, allocations: 2.704 MB / 0.5041 GB, free: 1.922 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.4945, allocations: 45.64 kB / 0.5041 GB, free: 1.871 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00137/0.4959, allocations: 1.308 MB / 0.5054 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003785/0.4963, allocations: 349 kB / 0.5057 GB, free: 220 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004505/0.4967, allocations: 238.4 kB / 0.5059 GB, free: 15.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002233/0.497, allocations: 341.9 kB / 0.5063 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.4983, allocations: 482 kB / 0.5067 GB, free: 15.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001469/0.4998, allocations: 0.6431 MB / 0.5074 GB, free: 14.46 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00312/0.5029, allocations: 1.133 MB / 0.5085 GB, free: 13.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.82e-06/0.5029, allocations: 0 / 0.5085 GB, free: 13.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005002/0.5079, allocations: 1.831 MB / 0.5103 GB, free: 11.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.5079, allocations: 4 kB / 0.5103 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002042/0.5081, allocations: 127.9 kB / 0.5104 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007991/0.5089, allocations: 260.9 kB / 0.5106 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009164/0.5098, allocations: 203.6 kB / 0.5108 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01226/0.5221, allocations: 12.98 MB / 0.5235 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/0.524, allocations: 87.91 kB / 0.5236 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/0.5242, allocations: 59.98 kB / 0.5236 GB, free: 12.64 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.001194/0.5254, allocations: 429.6 kB / 0.524 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007326/0.5261, allocations: 389.6 kB / 0.5244 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005385/0.5315, allocations: 2.056 MB / 0.5264 GB, free: 9.734 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.434e-05/0.5315, allocations: 11.98 kB / 0.5264 GB, free: 9.723 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/0.5316, allocations: 11.92 kB / 0.5265 GB, free: 9.711 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.5316, allocations: 7.922 kB / 0.5265 GB, free: 9.703 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002693/0.5343, allocations: 1.289 MB / 0.5277 GB, free: 8.383 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001778/0.5344, allocations: 115.9 kB / 0.5278 GB, free: 8.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007769/0.5352, allocations: 139.8 kB / 0.528 GB, free: 8.133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007903/0.536, allocations: 260.3 kB / 0.5282 GB, free: 7.848 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/0.5361, allocations: 43.98 kB / 0.5283 GB, free: 7.805 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3461/0.8822, allocations: 12.97 MB / 0.5409 GB, free: 98.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.8822, allocations: 1.172 kB / 0.5409 GB, free: 98.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005837/0.8881, allocations: 2.405 MB / 0.5433 GB, free: 98.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/0.8891, allocations: 438.7 kB / 0.5437 GB, free: 98.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003097/0.8894, allocations: 23.64 kB / 0.5437 GB, free: 98.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009705/0.8904, allocations: 84.25 kB / 0.5438 GB, free: 98.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003962/0.8908, allocations: 145.1 kB / 0.5439 GB, free: 98.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.8909, allocations: 48.36 kB / 0.544 GB, free: 98.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002511/0.8934, allocations: 1.77 MB / 0.5457 GB, free: 97.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8934, allocations: 0 / 0.5457 GB, free: 97.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00142/0.8948, allocations: 0.657 MB / 0.5463 GB, free: 97.75 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.001112/0.8959, allocations: 0.8158 MB / 0.5471 GB, free: 97.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003292/0.8992, allocations: 2.455 MB / 0.5495 GB, free: 96.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8992, allocations: 0 / 0.5495 GB, free: 96.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001971/0.9012, allocations: 1.903 MB / 0.5514 GB, free: 94.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00207/0.9033, allocations: 0.6162 MB / 0.552 GB, free: 94.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00515/0.9084, allocations: 4.759 MB / 0.5566 GB, free: 90.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007049/0.9091, allocations: 1.1 MB / 0.5577 GB, free: 89.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000916/0.91, allocations: 396 kB / 0.5581 GB, free: 89.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/0.9103, allocations: 167.4 kB / 0.5583 GB, free: 88.99 MB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.9103, allocations: 0 / 0.5583 GB, free: 88.99 MB / 446.1 MB Notification: Performance of Templates: time 0.06583/0.9761, allocations: 43.13 MB / 0.6004 GB, free: 46.6 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Nor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Nor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Nor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Nor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Nor.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Nor -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Nor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 7.2884730829973705]