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.001977/0.001977, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002521/0.002521, allocations: 210.9 kB / 23.73 MB, free: 4.387 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.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.00163/0.00163, allocations: 43.94 kB / 378.2 MB, free: 2.555 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2291, allocations: 53.36 MB / 431.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nor): time 0.01446/0.2436, allocations: 11.97 MB / 443.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02313/0.2667, allocations: 17.59 MB / 461.1 MB, free: 9.043 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00165/0.2684, allocations: 197.8 kB / 461.3 MB, free: 8.848 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002437/0.2708, allocations: 1.029 MB / 462.3 MB, free: 7.816 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006102/0.2769, allocations: 2.324 MB / 464.7 MB, free: 5.473 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003916/0.2809, allocations: 1.418 MB / 466.1 MB, free: 4.055 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009409/0.2903, allocations: 6.536 MB / 472.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004962/0.2908, allocations: 245 kB / 472.9 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001501/0.2923, allocations: 1.143 MB / 474 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/0.2936, allocations: 1.036 MB / 475 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001978/0.2938, allocations: 72 kB / 475.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003196/0.297, allocations: 1.214 MB / 476.3 MB, free: 9.746 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003465/0.2973, allocations: 321.7 kB / 476.6 MB, free: 9.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001134/0.2984, allocations: 0.9702 MB / 477.6 MB, free: 8.453 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004988/0.3034, allocations: 3.741 MB / 481.4 MB, free: 4.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.3034, allocations: 7.938 kB / 481.4 MB, free: 4.688 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3034, allocations: 0 / 481.4 MB, free: 4.688 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.457e-05/0.3035, allocations: 0 / 481.4 MB, free: 4.688 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.005751/0.3092, allocations: 3.613 MB / 485 MB, free: 1.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3093, allocations: 8.031 kB / 485 MB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004376/0.3097, allocations: 397.5 kB / 485.4 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003947/0.3136, allocations: 2.382 MB / 487.8 MB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.702e-05/0.3137, allocations: 36.98 kB / 487.8 MB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.3138, allocations: 48 kB / 487.8 MB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.3153, allocations: 0.7616 MB / 488.6 MB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.3153, allocations: 0 / 488.6 MB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.768e-05/0.3154, allocations: 20 kB / 488.6 MB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.3154, allocations: 19.98 kB / 488.6 MB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001875/0.3173, allocations: 0.8553 MB / 489.5 MB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004936/0.3222, allocations: 2.674 MB / 492.2 MB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/0.324, allocations: 0.7208 MB / 492.9 MB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001528/0.3255, allocations: 0.8684 MB / 493.8 MB, free: 8.078 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02654/0.352, allocations: 13.68 MB / 0.4955 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001256/0.3533, allocations: 0.5996 MB / 0.4961 GB, free: 9.402 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 2.986e-06/0.3533, allocations: 7.938 kB / 0.4961 GB, free: 9.395 MB / 414.1 MB Notification: Performance of matching and sorting (n=99): time 0.01278/0.3661, allocations: 4.513 MB / 0.5005 GB, free: 4.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.61e-05/0.3661, allocations: 72.39 kB / 0.5006 GB, free: 4.734 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003603/0.3698, allocations: 2.696 MB / 0.5032 GB, free: 2.023 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.666e-05/0.3698, allocations: 41.7 kB / 0.5033 GB, free: 1.977 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001346/0.3712, allocations: 1.308 MB / 0.5046 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003666/0.3716, allocations: 357 kB / 0.5049 GB, free: 320 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003816/0.3719, allocations: 242.3 kB / 0.5051 GB, free: 72 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002098/0.3722, allocations: 341.9 kB / 0.5055 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/0.3735, allocations: 478 kB / 0.5059 GB, free: 15.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/0.375, allocations: 0.647 MB / 0.5065 GB, free: 14.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002792/0.3778, allocations: 1.126 MB / 0.5076 GB, free: 13.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.3778, allocations: 7.938 kB / 0.5076 GB, free: 13.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004503/0.3823, allocations: 1.839 MB / 0.5094 GB, free: 11.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.3823, allocations: 8 kB / 0.5095 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001766/0.3825, allocations: 115.9 kB / 0.5096 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007256/0.3832, allocations: 268.6 kB / 0.5098 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009038/0.3841, allocations: 199.6 kB / 0.51 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01113/0.3952, allocations: 12.97 MB / 0.5227 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.3967, allocations: 92.08 kB / 0.5228 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/0.3969, allocations: 63.94 kB / 0.5228 GB, free: 12.73 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.0008588/0.3977, allocations: 422.2 kB / 0.5232 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004522/0.3982, allocations: 381.6 kB / 0.5236 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005018/0.4032, allocations: 2.06 MB / 0.5256 GB, free: 9.824 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.4032, allocations: 8 kB / 0.5256 GB, free: 9.816 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.4032, allocations: 8 kB / 0.5256 GB, free: 9.809 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.4032, allocations: 3.984 kB / 0.5256 GB, free: 9.805 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001848/0.4051, allocations: 1.297 MB / 0.5269 GB, free: 8.477 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001792/0.4052, allocations: 119.9 kB / 0.527 GB, free: 8.359 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007255/0.406, allocations: 135.7 kB / 0.5271 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006884/0.4067, allocations: 272.3 kB / 0.5274 GB, free: 7.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.96e-05/0.4067, allocations: 39.98 kB / 0.5274 GB, free: 7.891 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.194/0.6008, allocations: 12.97 MB / 0.5401 GB, free: 99.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.6008, allocations: 0 / 0.5401 GB, free: 99.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005423/0.6062, allocations: 2.412 MB / 0.5425 GB, free: 99.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/0.6072, allocations: 433.7 kB / 0.5429 GB, free: 99.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003156/0.6075, allocations: 20.03 kB / 0.5429 GB, free: 99.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.6086, allocations: 84.17 kB / 0.543 GB, free: 99.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003782/0.6089, allocations: 145.8 kB / 0.5431 GB, free: 99.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.609, allocations: 47.3 kB / 0.5432 GB, free: 99.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002387/0.6114, allocations: 1.772 MB / 0.5449 GB, free: 98.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6114, allocations: 0 / 0.5449 GB, free: 98.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001379/0.6128, allocations: 0.6578 MB / 0.5455 GB, free: 98.59 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.001014/0.6138, allocations: 0.8156 MB / 0.5463 GB, free: 98.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003435/0.6172, allocations: 2.446 MB / 0.5487 GB, free: 96.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6173, allocations: 0 / 0.5487 GB, free: 96.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002021/0.6193, allocations: 1.905 MB / 0.5506 GB, free: 95.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/0.6215, allocations: 0.6137 MB / 0.5512 GB, free: 95.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005236/0.6267, allocations: 4.759 MB / 0.5558 GB, free: 91.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006868/0.6274, allocations: 1.113 MB / 0.5569 GB, free: 90.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009582/0.6283, allocations: 389.2 kB / 0.5573 GB, free: 90 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002415/0.6286, allocations: 167.4 kB / 0.5574 GB, free: 89.84 MB / 446.1 MB Notification: Performance of SimCode: time 7.51e-07/0.6286, allocations: 0 / 0.5574 GB, free: 89.84 MB / 446.1 MB Notification: Performance of Templates: time 0.05359/0.6822, allocations: 42.9 MB / 0.5993 GB, free: 47.66 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 -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/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_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.232478803023696]