Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.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.002044/0.002044, allocations: 99.53 kB / 21.73 MB, free: 2.688 MB / 18.57 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.002193/0.002193, allocations: 166.2 kB / 25.03 MB, free: 8.422 MB / 18.57 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.396/1.396, allocations: 158.6 MB / 186.8 MB, free: 2.898 MB / 170.7 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.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 250.4 MB, free: 7.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.43e-05/3.613e-05, allocations: 6.109 kB / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.008337/0.008373, allocations: 3.666 MB / 254 MB, free: 4.152 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002628/0.011, allocations: 0.9978 MB / 255 MB, free: 3.148 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000309/0.01131, allocations: 23.81 kB / 255 MB, free: 3.125 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004056/0.01172, allocations: 158.8 kB / 255.2 MB, free: 2.969 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009678/0.01268, allocations: 306 kB / 255.5 MB, free: 2.668 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.01302, allocations: 139.7 kB / 255.6 MB, free: 2.531 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001749/0.01477, allocations: 1.451 MB / 257.1 MB, free: 1.07 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009022/0.01567, allocations: 0.5795 MB / 257.7 MB, free: 468 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00171/0.01738, allocations: 0.9239 MB / 258.6 MB, free: 15.53 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001405/0.01879, allocations: 0.76 MB / 259.3 MB, free: 14.77 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002596/0.01905, allocations: 160 kB / 259.5 MB, free: 14.61 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003045/0.01935, allocations: 156 kB / 259.7 MB, free: 14.46 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005926/0.01995, allocations: 482.6 kB / 260.1 MB, free: 13.99 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008117/0.02076, allocations: 0.5184 MB / 260.6 MB, free: 13.47 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002498/0.02325, allocations: 2.072 MB / 262.7 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.02326, allocations: 0 / 262.7 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.02326, allocations: 0 / 262.7 MB, free: 11.39 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.943e-05/0.02329, allocations: 0 / 262.7 MB, free: 11.39 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003552/0.02684, allocations: 1.847 MB / 264.6 MB, free: 9.5 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.02688, allocations: 11.98 kB / 264.6 MB, free: 9.488 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003929/0.02728, allocations: 236 kB / 264.8 MB, free: 9.258 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/0.02877, allocations: 0.6895 MB / 265.5 MB, free: 8.539 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-05/0.02886, allocations: 82.59 kB / 265.6 MB, free: 8.457 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/0.02904, allocations: 112.4 kB / 265.7 MB, free: 8.348 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002914/0.03196, allocations: 1.691 MB / 267.4 MB, free: 6.57 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.03198, allocations: 3.938 kB / 267.4 MB, free: 6.566 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/0.0321, allocations: 48 kB / 267.4 MB, free: 6.52 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-05/0.03213, allocations: 28 kB / 267.5 MB, free: 6.492 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/0.03433, allocations: 1.164 MB / 268.6 MB, free: 5.32 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008318/0.04265, allocations: 4.329 MB / 273 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009514/0.0436, allocations: 0.5432 MB / 273.5 MB, free: 320 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007104/0.04431, allocations: 381.8 kB / 273.9 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.556e-05/0.04435, allocations: 8.5 kB / 273.9 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.04439, allocations: 41.89 kB / 273.9 MB, free: 15.87 MB / 266.7 MB Notification: Performance of pre-optimization done (n=49): time 2.154e-06/0.04439, allocations: 3.938 kB / 273.9 MB, free: 15.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.003468/0.04786, allocations: 1.696 MB / 275.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.04791, allocations: 67.83 kB / 275.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.04916, allocations: 0.8822 MB / 276.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.659e-05/0.04922, allocations: 33.7 kB / 276.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005968/0.04981, allocations: 0.647 MB / 277.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002/0.05001, allocations: 194.4 kB / 277.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002396/0.05025, allocations: 128 kB / 277.6 MB, free: 12.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004376/0.05069, allocations: 0.6211 MB / 278.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004654/0.05116, allocations: 253.1 kB / 278.4 MB, free: 11.26 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006104/0.05177, allocations: 399.4 kB / 278.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.05284, allocations: 0.6583 MB / 279.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.05285, allocations: 3.938 kB / 279.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001697/0.05454, allocations: 0.844 MB / 280.3 MB, free: 9.254 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.05456, allocations: 4 kB / 280.3 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.05457, allocations: 4 kB / 280.3 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003907/0.05497, allocations: 123.6 kB / 280.5 MB, free: 9.121 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005254/0.05549, allocations: 119.8 kB / 280.6 MB, free: 9.004 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003186/0.05868, allocations: 2.832 MB / 283.4 MB, free: 6.051 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004325/0.05911, allocations: 27.97 kB / 283.4 MB, free: 6.023 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-05/0.05915, allocations: 16 kB / 283.4 MB, free: 6.008 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007223/0.05987, allocations: 440.2 kB / 283.9 MB, free: 5.566 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.06003, allocations: 91.53 kB / 284 MB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.06022, allocations: 86.77 kB / 284 MB, free: 5.387 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.06022, allocations: 4 kB / 284.1 MB, free: 5.383 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.06023, allocations: 4 kB / 284.1 MB, free: 5.379 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.06024, allocations: 4.047 kB / 284.1 MB, free: 5.375 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003726/0.06397, allocations: 1.941 MB / 286 MB, free: 3.363 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.06397, allocations: 0 / 286 MB, free: 3.363 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003783/0.06435, allocations: 95.77 kB / 286.1 MB, free: 3.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002902/0.06464, allocations: 99.72 kB / 286.2 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.163e-05/0.06468, allocations: 15.98 kB / 286.2 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002848/0.06753, allocations: 2.688 MB / 288.9 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.06753, allocations: 0 / 288.9 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.06938, allocations: 1.064 MB / 290 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/0.06962, allocations: 83.5 kB / 290 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.641e-05/0.0697, allocations: 15.94 kB / 290.1 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004077/0.07011, allocations: 51.98 kB / 290.1 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.07023, allocations: 40.42 kB / 290.1 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.321e-05/0.07028, allocations: 19.98 kB / 290.2 MB, free: 15.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008394/0.07112, allocations: 0.5692 MB / 290.7 MB, free: 14.46 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07112, allocations: 0 / 290.7 MB, free: 14.46 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008339/0.07195, allocations: 208 kB / 290.9 MB, free: 14.26 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * 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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000188/0.07214, allocations: 119.1 kB / 291.1 MB, free: 14.13 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001461/0.0736, allocations: 0.7927 MB / 291.8 MB, free: 13.32 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.0736, allocations: 0 / 291.8 MB, free: 13.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008757/0.07448, allocations: 0.4902 MB / 292.3 MB, free: 12.81 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009137/0.07539, allocations: 183.1 kB / 292.5 MB, free: 12.63 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003705/0.0791, allocations: 2.038 MB / 294.6 MB, free: 10.53 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000871/0.07997, allocations: 0.6782 MB / 295.2 MB, free: 9.812 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003872/0.08036, allocations: 133.5 kB / 295.4 MB, free: 9.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.08051, allocations: 56.48 kB / 295.4 MB, free: 9.625 MB / 282.7 MB Notification: Performance of SimCode: time 9.72e-07/0.08051, allocations: 0 / 295.4 MB, free: 9.625 MB / 282.7 MB Notification: Performance of Templates: time 0.02168/0.1022, allocations: 10.26 MB / 305.7 MB, free: 15.41 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.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: 4.741745564038865]