Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.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.001416/0.001416, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 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.001688/0.001688, allocations: 204.8 kB / 25.23 MB, free: 3.547 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.487/1.487, allocations: 207.6 MB / 236 MB, free: 9.996 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.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.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 63.92 kB / 348.5 MB, free: 9.512 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2743, allocations: 49.16 MB / 397.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.03098/0.3053, allocations: 29.72 MB / 427.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01943/0.3247, allocations: 7.46 MB / 434.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009185/0.3339, allocations: 262.7 kB / 435.1 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03304/0.3669, allocations: 13.32 MB / 448.4 MB, free: 476 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01396/0.3809, allocations: 2.991 MB / 451.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008177/0.3891, allocations: 2.163 MB / 453.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02982/0.4189, allocations: 19.18 MB / 472.7 MB, free: 8.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06539/0.4843, allocations: 28.62 MB / 0.4896 GB, free: 11.19 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02127/0.5055, allocations: 10.53 MB / 0.4999 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0204/0.5259, allocations: 11.65 MB / 0.5112 GB, free: 4.949 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009197/0.5351, allocations: 2.973 MB / 0.5141 GB, free: 1.977 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01157/0.5467, allocations: 3.238 MB / 0.5173 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01011/0.5568, allocations: 5.779 MB / 0.5229 GB, free: 8.945 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02253/0.5793, allocations: 11.22 MB / 0.5339 GB, free: 13.68 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5277/1.107, allocations: 39.76 MB / 0.5727 GB, free: 70.07 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/1.107, allocations: 0.6562 kB / 0.5727 GB, free: 70.07 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.573e-06/1.107, allocations: 0 / 0.5727 GB, free: 70.07 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001178/1.108, allocations: 1.5 kB / 0.5727 GB, free: 70.07 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.07269/1.181, allocations: 23.2 MB / 0.5954 GB, free: 62.29 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/1.181, allocations: 15.2 kB / 0.5954 GB, free: 62.29 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06361/1.245, allocations: 12.37 MB / 0.6075 GB, free: 57.43 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02447/1.269, allocations: 10.79 MB / 0.618 GB, free: 50.27 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001123/1.27, allocations: 1.404 MB / 0.6194 GB, free: 48.89 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008478/1.279, allocations: 1.837 MB / 0.6212 GB, free: 47.07 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07546/1.354, allocations: 30.84 MB / 0.6513 GB, free: 16.19 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007774/1.355, allocations: 21.47 kB / 0.6513 GB, free: 16.18 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007249/1.362, allocations: 0.764 MB / 0.6521 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007156/1.363, allocations: 0.9653 MB / 0.653 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05868/1.422, allocations: 27.87 MB / 0.6802 GB, free: 2.562 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1986/1.62, allocations: 91 MB / 0.7691 GB, free: 7.422 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3529/1.973, allocations: 17 MB / 0.7857 GB, free: 207.3 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009655/1.983, allocations: 5.546 MB / 0.7911 GB, free: 207.3 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02911/2.012, allocations: 14.91 MB / 0.8057 GB, free: 202.7 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.805e-05/2.012, allocations: 80.88 kB / 0.8057 GB, free: 202.6 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=427): time 7.344e-06/2.012, allocations: 0 / 0.8057 GB, free: 202.6 MB / 0.5763 GB Notification: Performance of matching and sorting (n=427): time 0.03239/2.044, allocations: 13.14 MB / 0.8186 GB, free: 198.8 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.928e-05/2.044, allocations: 121.3 kB / 0.8187 GB, free: 198.7 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01405/2.058, allocations: 7.508 MB / 0.826 GB, free: 196.1 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0008406/2.059, allocations: 93.14 kB / 0.8261 GB, free: 196 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.005007/2.064, allocations: 8.858 MB / 0.8348 GB, free: 189.3 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001882/2.066, allocations: 1.63 MB / 0.8363 GB, free: 188.1 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005944/2.072, allocations: 2.284 MB / 0.8386 GB, free: 187 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.751e-05/2.072, allocations: 309.1 kB / 0.8389 GB, free: 186.7 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006246/2.078, allocations: 4.705 MB / 0.8435 GB, free: 183.7 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009017/2.087, allocations: 10.4 MB / 0.8536 GB, free: 171.3 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01504/2.102, allocations: 15.99 MB / 0.8692 GB, free: 152.5 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001763/2.103, allocations: 56 kB / 0.8693 GB, free: 152.5 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.02394/2.127, allocations: 16 MB / 0.8849 GB, free: 136.5 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001677/2.127, allocations: 92 kB / 0.885 GB, free: 136.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002694/2.127, allocations: 203.9 kB / 0.8852 GB, free: 136.2 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005117/2.132, allocations: 1.692 MB / 0.8869 GB, free: 134.5 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007861/2.14, allocations: 2.507 MB / 0.8893 GB, free: 132 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01273/2.153, allocations: 11.44 MB / 0.9005 GB, free: 120.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009546/2.162, allocations: 1.591 MB / 0.902 GB, free: 118.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001612/2.164, allocations: 0.6006 MB / 0.9026 GB, free: 118.2 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1312): * Single equations (assignments): 1309 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01065/2.174, allocations: 7.402 MB / 0.9098 GB, free: 110.8 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001326/2.176, allocations: 0.6597 MB / 0.9105 GB, free: 110.1 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01193/2.188, allocations: 8.049 MB / 0.9183 GB, free: 102.1 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008055/2.196, allocations: 6.449 MB / 0.9246 GB, free: 95.59 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.497e-05/2.196, allocations: 16 kB / 0.9247 GB, free: 95.58 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.052e-05/2.196, allocations: 19.92 kB / 0.9247 GB, free: 95.56 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03832/2.234, allocations: 20.82 MB / 0.945 GB, free: 74.75 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/2.234, allocations: 7.938 kB / 0.945 GB, free: 74.74 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002834/2.237, allocations: 0.7722 MB / 0.9458 GB, free: 73.96 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004637/2.242, allocations: 1.45 MB / 0.9472 GB, free: 72.51 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004273/2.242, allocations: 91.97 kB / 0.9473 GB, free: 72.42 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01202/2.254, allocations: 11.05 MB / 0.9581 GB, free: 61.27 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/2.254, allocations: 0 / 0.9581 GB, free: 61.27 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01481/2.269, allocations: 11.71 MB / 0.9695 GB, free: 49.51 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003697/2.273, allocations: 1.315 MB / 0.9708 GB, free: 48.19 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001612/2.274, allocations: 83.92 kB / 0.9709 GB, free: 48.11 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00335/2.278, allocations: 299.6 kB / 0.9711 GB, free: 47.81 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000656/2.278, allocations: 311.7 kB / 0.9714 GB, free: 47.51 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000309/2.279, allocations: 124.2 kB / 0.9716 GB, free: 47.39 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.007484/2.286, allocations: 4.922 MB / 0.9764 GB, free: 42.48 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.1e-07/2.286, allocations: 3.938 kB / 0.9764 GB, free: 42.48 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0129/2.299, allocations: 4.234 MB / 0.9805 GB, free: 38.23 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (source.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (381): * Single equations (assignments): 378 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001075/2.3, allocations: 262.2 kB / 0.9808 GB, free: 37.96 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01512/2.315, allocations: 10.53 MB / 0.991 GB, free: 27.46 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/2.315, allocations: 0 / 0.991 GB, free: 27.46 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.005618/2.321, allocations: 3.658 MB / 0.9946 GB, free: 23.79 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008385/2.329, allocations: 1.546 MB / 0.9961 GB, free: 22.23 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2672/2.596, allocations: 29.81 MB / 1.025 GB, free: 187.3 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0174/2.614, allocations: 11.23 MB / 1.036 GB, free: 186.3 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002381/2.616, allocations: 0.5903 MB / 1.037 GB, free: 186.3 MB / 0.5763 GB Notification: Performance of SimCode: time 1.844e-06/2.616, allocations: 0 / 1.037 GB, free: 186.3 MB / 0.5763 GB Notification: Performance of Templates: time 0.5469/3.163, allocations: 291.5 MB / 1.321 GB, free: 130.6 MB / 0.5763 GB " [Timeout remaining time 657] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.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: 23.68737508286722]