Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.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.001328/0.001328, allocations: 106.8 kB / 21.2 MB, free: 0.6406 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.001458/0.001458, allocations: 215.5 kB / 24.49 MB, free: 3.934 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.47/1.47, allocations: 230.6 MB / 258.3 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.InvertersExtendedModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") translateModel(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 47.92 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2165, allocations: 53.37 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.01437/0.2309, allocations: 12.89 MB / 445.2 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02341/0.2543, allocations: 17.96 MB / 463.2 MB, free: 7.766 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001876/0.2562, allocations: 142.4 kB / 463.3 MB, free: 7.625 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002961/0.2591, allocations: 1.159 MB / 464.5 MB, free: 6.465 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006823/0.266, allocations: 2.417 MB / 466.9 MB, free: 4.027 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004073/0.27, allocations: 1.41 MB / 468.3 MB, free: 2.617 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009868/0.2799, allocations: 6.727 MB / 475 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005618/0.2805, allocations: 278.2 kB / 475.3 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.2821, allocations: 1.182 MB / 476.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.2834, allocations: 1.149 MB / 477.6 MB, free: 9.223 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000207/0.2836, allocations: 76 kB / 477.7 MB, free: 9.148 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003138/0.2867, allocations: 1.233 MB / 479 MB, free: 7.914 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003339/0.287, allocations: 337.5 kB / 479.3 MB, free: 7.582 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001059/0.2881, allocations: 1.052 MB / 480.3 MB, free: 6.523 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004786/0.2929, allocations: 4.044 MB / 484.4 MB, free: 2.461 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.2929, allocations: 3.938 kB / 484.4 MB, free: 2.457 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2929, allocations: 0 / 484.4 MB, free: 2.457 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.694e-05/0.2929, allocations: 0 / 484.4 MB, free: 2.457 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.00585/0.2988, allocations: 3.89 MB / 488.3 MB, free: 14.51 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.2988, allocations: 12.03 kB / 488.3 MB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004844/0.2993, allocations: 429.3 kB / 488.7 MB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003767/0.3031, allocations: 2.345 MB / 491 MB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.059e-05/0.3031, allocations: 37 kB / 491.1 MB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/0.3033, allocations: 55.94 kB / 491.1 MB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.3047, allocations: 0.7343 MB / 491.9 MB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.3047, allocations: 0 / 491.9 MB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.719e-05/0.3048, allocations: 24 kB / 491.9 MB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/0.3048, allocations: 19.98 kB / 491.9 MB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/0.3065, allocations: 0.8124 MB / 492.7 MB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005261/0.3118, allocations: 2.811 MB / 495.5 MB, free: 7.086 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.313, allocations: 0.5125 MB / 496.1 MB, free: 6.566 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.314, allocations: 0.5692 MB / 496.6 MB, free: 5.988 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0279/0.3419, allocations: 13.72 MB / 0.4984 GB, free: 7.883 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008249/0.3427, allocations: 373.6 kB / 0.4987 GB, free: 7.504 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 2.805e-06/0.3427, allocations: 0 / 0.4987 GB, free: 7.504 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.002479/0.3452, allocations: 1.118 MB / 0.4998 GB, free: 6.379 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/0.3453, allocations: 63.41 kB / 0.4999 GB, free: 6.305 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003983/0.3493, allocations: 3.106 MB / 0.5029 GB, free: 3.199 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.055e-05/0.3493, allocations: 33.7 kB / 0.503 GB, free: 3.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001545/0.3509, allocations: 1.585 MB / 0.5045 GB, free: 1.566 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.3511, allocations: 178.6 kB / 0.5047 GB, free: 1.391 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003357/0.3514, allocations: 226.4 kB / 0.5049 GB, free: 1.164 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3516, allocations: 337.9 kB / 0.5052 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006535/0.3522, allocations: 241.9 kB / 0.5054 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009338/0.3531, allocations: 0.6134 MB / 0.506 GB, free: 15.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/0.3547, allocations: 0.9013 MB / 0.5069 GB, free: 14.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/0.3548, allocations: 7.938 kB / 0.5069 GB, free: 14.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002336/0.3571, allocations: 1.27 MB / 0.5082 GB, free: 13.44 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.3571, allocations: 12 kB / 0.5082 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001174/0.3572, allocations: 80 kB / 0.5083 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.999e-05/0.3573, allocations: 16 kB / 0.5083 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007606/0.358, allocations: 199.7 kB / 0.5085 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.297e-05/0.3581, allocations: 32.11 kB / 0.5085 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000958/0.359, allocations: 115.3 kB / 0.5086 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.3591, allocations: 64 kB / 0.5087 GB, free: 12.93 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 14 (vin.counter,$PRE.vin.counter,v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,vin.counter2,$PRE.vin.counter2,vin.T0,$PRE.vin.T0,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000774/0.3599, allocations: 449.5 kB / 0.5091 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004285/0.3603, allocations: 425.3 kB / 0.5095 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00279/0.3631, allocations: 1.203 MB / 0.5107 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.3631, allocations: 3.984 kB / 0.5107 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001008/0.3632, allocations: 68 kB / 0.5107 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000941/0.3642, allocations: 447 kB / 0.5112 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003227/0.3645, allocations: 8 kB / 0.5112 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006864/0.3652, allocations: 31.95 kB / 0.5112 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.3653, allocations: 55.94 kB / 0.5113 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001837/0.3672, allocations: 0.692 MB / 0.5119 GB, free: 9.555 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002512/0.3697, allocations: 1.383 MB / 0.5133 GB, free: 8.152 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006423/0.3703, allocations: 225.4 kB / 0.5135 GB, free: 7.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00284/0.3732, allocations: 2.007 MB / 0.5155 GB, free: 5.93 MB / 430.1 MB Notification: Performance of Backend: time 3.91e-07/0.3732, allocations: 0 / 0.5155 GB, free: 5.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003138/0.3763, allocations: 1.456 MB / 0.5169 GB, free: 4.445 MB / 430.1 MB Notification: Performance of SimCode: time 0.008078/0.3844, allocations: 5.706 MB / 0.5225 GB, free: 14.64 MB / 446.1 MB Notification: Performance of Templates: time 0.2198/0.6041, allocations: 41.6 MB / 0.5631 GB, free: 87.78 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/InvertersExtendedModel/InvertersExtendedModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.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: 5.786826416995609]