Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 106 kB / 21.18 MB, free: 0.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002253/0.002253, allocations: 185.3 kB / 24.47 MB, free: 4.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Nor") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 53.33 kB / 347.6 MB, free: 9.578 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2557, allocations: 49.16 MB / 396.8 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nor): time 0.01064/0.2663, allocations: 13.58 MB / 410.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02514/0.2915, allocations: 19.45 MB / 429.8 MB, free: 208 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002591/0.2941, allocations: 193 kB / 430 MB, free: 68 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003044/0.2971, allocations: 1.109 MB / 431.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007571/0.3047, allocations: 2.304 MB / 433.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004855/0.3095, allocations: 1.399 MB / 434.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01138/0.3209, allocations: 6.333 MB / 441.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006555/0.3216, allocations: 257.1 kB / 441.4 MB, free: 6.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001934/0.3235, allocations: 1.038 MB / 442.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001468/0.325, allocations: 1.06 MB / 443.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001807/0.3251, allocations: 72 kB / 443.6 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004119/0.3293, allocations: 1.167 MB / 444.8 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003426/0.3296, allocations: 329.7 kB / 445.1 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001431/0.331, allocations: 1.324 MB / 446.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006327/0.3374, allocations: 3.733 MB / 450.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3374, allocations: 0 / 450.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3374, allocations: 0 / 450.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.79e-05/0.3374, allocations: 0 / 450.1 MB, free: 13.89 MB / 366.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.005834/0.3432, allocations: 3.633 MB / 453.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.3433, allocations: 15.98 kB / 453.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005317/0.3438, allocations: 401.5 kB / 454.2 MB, free: 9.789 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003957/0.3478, allocations: 2.394 MB / 456.6 MB, free: 7.297 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.262e-05/0.3478, allocations: 44.92 kB / 456.6 MB, free: 7.254 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.3479, allocations: 48 kB / 456.7 MB, free: 7.207 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.3495, allocations: 0.7616 MB / 457.4 MB, free: 6.441 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.3495, allocations: 0 / 457.4 MB, free: 6.441 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.035e-05/0.3496, allocations: 20 kB / 457.4 MB, free: 6.422 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.613e-05/0.3496, allocations: 23.92 kB / 457.5 MB, free: 6.398 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/0.3514, allocations: 0.8631 MB / 458.3 MB, free: 5.527 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005303/0.3567, allocations: 2.931 MB / 461.3 MB, free: 2.543 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/0.3584, allocations: 0.7285 MB / 462 MB, free: 1.805 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001486/0.3599, allocations: 0.8628 MB / 462.8 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02633/0.3863, allocations: 13.78 MB / 476.6 MB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00125/0.3875, allocations: 0.5958 MB / 477.2 MB, free: 2.172 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.146e-06/0.3875, allocations: 0 / 477.2 MB, free: 2.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=99): time 0.012/0.3995, allocations: 4.532 MB / 481.8 MB, free: 13.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.3996, allocations: 64.41 kB / 481.8 MB, free: 13.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003758/0.4033, allocations: 2.717 MB / 484.5 MB, free: 10.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001508/0.4035, allocations: 41.7 kB / 484.6 MB, free: 10.72 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001384/0.4049, allocations: 1.304 MB / 485.9 MB, free: 9.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003855/0.4053, allocations: 356.9 kB / 486.2 MB, free: 9.066 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004007/0.4057, allocations: 234.4 kB / 486.5 MB, free: 8.828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.4059, allocations: 349.9 kB / 486.8 MB, free: 8.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.4072, allocations: 478 kB / 487.3 MB, free: 8.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001631/0.4088, allocations: 0.6509 MB / 487.9 MB, free: 7.297 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002776/0.4116, allocations: 1.126 MB / 489 MB, free: 6.105 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.4116, allocations: 0 / 489 MB, free: 6.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004398/0.416, allocations: 1.827 MB / 490.9 MB, free: 4.242 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.416, allocations: 11.94 kB / 490.9 MB, free: 4.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002039/0.4162, allocations: 124 kB / 491 MB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007599/0.417, allocations: 264.9 kB / 491.3 MB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009175/0.4179, allocations: 199.6 kB / 491.5 MB, free: 3.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01264/0.4306, allocations: 13.22 MB / 0.4928 GB, free: 5.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.4321, allocations: 95.89 kB / 0.4929 GB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/0.4323, allocations: 56 kB / 0.493 GB, free: 5.113 MB / 414.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.0009502/0.4332, allocations: 426.3 kB / 0.4934 GB, free: 4.688 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005659/0.4338, allocations: 389.6 kB / 0.4938 GB, free: 4.305 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005134/0.4389, allocations: 2.068 MB / 0.4958 GB, free: 2.195 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.4389, allocations: 8 kB / 0.4958 GB, free: 2.188 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.439, allocations: 8 kB / 0.4958 GB, free: 2.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.439, allocations: 7.984 kB / 0.4958 GB, free: 2.172 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002233/0.4412, allocations: 1.531 MB / 0.4973 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001763/0.4414, allocations: 112 kB / 0.4974 GB, free: 500 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007389/0.4421, allocations: 135.8 kB / 0.4975 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006614/0.4428, allocations: 268.3 kB / 0.4978 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.493e-05/0.4429, allocations: 47.97 kB / 0.4978 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01163/0.4545, allocations: 13.21 MB / 0.5107 GB, free: 1.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4545, allocations: 0 / 0.5107 GB, free: 1.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005692/0.4602, allocations: 2.418 MB / 0.5131 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009543/0.4611, allocations: 443.3 kB / 0.5135 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003115/0.4615, allocations: 19.94 kB / 0.5135 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009904/0.4625, allocations: 79.89 kB / 0.5136 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003788/0.4628, allocations: 152.7 kB / 0.5138 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.4629, allocations: 43.98 kB / 0.5138 GB, free: 14.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002595/0.4655, allocations: 1.786 MB / 0.5155 GB, free: 12.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4655, allocations: 0 / 0.5155 GB, free: 12.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001556/0.4671, allocations: 0.6596 MB / 0.5162 GB, free: 12.01 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.001367/0.4685, allocations: 0.8154 MB / 0.517 GB, free: 11.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004438/0.4729, allocations: 2.448 MB / 0.5194 GB, free: 8.586 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4729, allocations: 4 kB / 0.5194 GB, free: 8.582 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002663/0.4756, allocations: 1.905 MB / 0.5212 GB, free: 6.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/0.4774, allocations: 0.5207 MB / 0.5218 GB, free: 5.992 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007289/0.4846, allocations: 4.782 MB / 0.5264 GB, free: 1.164 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001461/0.4861, allocations: 1.666 MB / 0.5281 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001271/0.4874, allocations: 391.4 kB / 0.5284 GB, free: 15.08 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003102/0.4877, allocations: 171.4 kB / 0.5286 GB, free: 14.91 MB / 462.1 MB Notification: Performance of SimCode: time 1.493e-06/0.4877, allocations: 0 / 0.5286 GB, free: 14.91 MB / 462.1 MB Notification: Performance of Templates: time 0.2414/0.7291, allocations: 38.09 MB / 0.5658 GB, free: 149.9 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Nor/Nor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.239173319190741]