Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.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.001121/0.001121, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001113/0.001113, allocations: 168.6 kB / 24.82 MB, free: 9.27 MB / 18.57 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 0.9532/0.9532, allocations: 177.1 MB / 205.3 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] 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.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 273.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/2.923e-05, allocations: 2.312 kB / 273.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.00382/0.003849, allocations: 3.694 MB / 277.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.005532, allocations: 1.02 MB / 278.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002413/0.005773, allocations: 31.75 kB / 278.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.00605, allocations: 154.9 kB / 278.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006508/0.006701, allocations: 298 kB / 278.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.006949, allocations: 143.8 kB / 278.7 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001023/0.007971, allocations: 1.447 MB / 280.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006015/0.008573, allocations: 0.6313 MB / 280.8 MB, free: 9.848 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.009575, allocations: 0.9356 MB / 281.7 MB, free: 8.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007833/0.01036, allocations: 0.7639 MB / 282.5 MB, free: 8.145 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001767/0.01053, allocations: 156 kB / 282.6 MB, free: 7.992 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002518/0.01079, allocations: 164 kB / 282.8 MB, free: 7.832 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002981/0.01108, allocations: 486.6 kB / 283.3 MB, free: 7.355 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004577/0.01154, allocations: 0.5184 MB / 283.8 MB, free: 6.836 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.01258, allocations: 1.235 MB / 285 MB, free: 5.598 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.01258, allocations: 0 / 285 MB, free: 5.598 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.01258, allocations: 0 / 285 MB, free: 5.598 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.556e-05/0.01262, allocations: 0 / 285 MB, free: 5.598 MB / 266.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.00178/0.0144, allocations: 1.715 MB / 286.7 MB, free: 3.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.01443, allocations: 12.03 kB / 286.8 MB, free: 3.828 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004347/0.01487, allocations: 252 kB / 287 MB, free: 3.582 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007829/0.01565, allocations: 0.7088 MB / 287.7 MB, free: 2.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.614e-05/0.0157, allocations: 82.59 kB / 287.8 MB, free: 2.758 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.0158, allocations: 108.4 kB / 287.9 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009532/0.01676, allocations: 0.9691 MB / 288.9 MB, free: 1.594 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.01678, allocations: 0 / 288.9 MB, free: 1.594 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.245e-05/0.01684, allocations: 44 kB / 288.9 MB, free: 1.551 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.01686, allocations: 31.98 kB / 288.9 MB, free: 1.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004261/0.01728, allocations: 295 kB / 289.2 MB, free: 1.219 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.127/0.1442, allocations: 3.065 MB / 292.3 MB, free: 24.1 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004754/0.1447, allocations: 322.7 kB / 292.6 MB, free: 24.06 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000239/0.145, allocations: 174.2 kB / 292.8 MB, free: 24.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.145, allocations: 11.34 kB / 292.8 MB, free: 24.04 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.145, allocations: 45.58 kB / 292.8 MB, free: 24 MB / 266.7 MB Notification: Performance of pre-optimization done (n=49): time 2.735e-06/0.145, allocations: 0.5625 kB / 292.8 MB, free: 24 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.001446/0.1465, allocations: 0.8262 MB / 293.7 MB, free: 23.74 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/0.1465, allocations: 59.48 kB / 293.7 MB, free: 23.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005945/0.1471, allocations: 0.6726 MB / 294.4 MB, free: 23.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.1471, allocations: 34.8 kB / 294.4 MB, free: 23.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000303/0.1474, allocations: 0.6366 MB / 295.1 MB, free: 23.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.1475, allocations: 194 kB / 295.3 MB, free: 23.08 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.1476, allocations: 115.9 kB / 295.4 MB, free: 23.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1478, allocations: 0.5918 MB / 296 MB, free: 22.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.986e-05/0.1479, allocations: 56.41 kB / 296 MB, free: 22.56 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.148, allocations: 206.4 kB / 296.2 MB, free: 22.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/0.1483, allocations: 291.5 kB / 296.5 MB, free: 22.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1483, allocations: 1.219 kB / 296.5 MB, free: 22.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0005365/0.1489, allocations: 440.1 kB / 296.9 MB, free: 22.19 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.1489, allocations: 6.328 kB / 296.9 MB, free: 22.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1489, allocations: 4.031 kB / 296.9 MB, free: 22.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001736/0.1491, allocations: 64.06 kB / 297 MB, free: 22.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/0.1493, allocations: 118.4 kB / 297.1 MB, free: 22.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.1504, allocations: 2.299 MB / 299.4 MB, free: 20.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.1506, allocations: 15.84 kB / 299.4 MB, free: 20.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.1507, allocations: 14.83 kB / 299.4 MB, free: 20.24 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.0001909/0.1508, allocations: 188.8 kB / 299.6 MB, free: 20.08 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-05/0.1509, allocations: 91.73 kB / 299.7 MB, free: 20.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.246e-05/0.151, allocations: 84.7 kB / 299.8 MB, free: 20.01 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.151, allocations: 5.906 kB / 299.8 MB, free: 20.01 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.151, allocations: 1.156 kB / 299.8 MB, free: 20.01 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.151, allocations: 3.688 kB / 299.8 MB, free: 20.01 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/0.1527, allocations: 1.426 MB / 301.2 MB, free: 19.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1527, allocations: 1.719 kB / 301.2 MB, free: 19.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.1529, allocations: 84.39 kB / 301.3 MB, free: 19.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001446/0.1531, allocations: 74.05 kB / 301.4 MB, free: 19.35 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.1531, allocations: 14.17 kB / 301.4 MB, free: 19.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009288/0.154, allocations: 2.272 MB / 303.7 MB, free: 17.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.154, allocations: 5.812 kB / 303.7 MB, free: 17.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005991/0.1546, allocations: 0.6426 MB / 304.3 MB, free: 16.86 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.551e-05/0.1547, allocations: 78.38 kB / 304.4 MB, free: 16.81 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.682e-05/0.1548, allocations: 14.09 kB / 304.4 MB, free: 16.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.155, allocations: 33.42 kB / 304.5 MB, free: 16.8 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.82e-05/0.155, allocations: 39.97 kB / 304.5 MB, free: 16.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.1551, allocations: 17.02 kB / 304.5 MB, free: 16.78 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003275/0.1554, allocations: 405.3 kB / 304.9 MB, free: 16.62 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1554, allocations: 0 / 304.9 MB, free: 16.62 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006243/0.156, allocations: 213.3 kB / 305.1 MB, free: 16.61 MB / 266.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.0001248/0.1561, allocations: 112.3 kB / 305.2 MB, free: 16.51 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004927/0.1566, allocations: 481.1 kB / 305.7 MB, free: 16.26 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1566, allocations: 1.844 kB / 305.7 MB, free: 16.26 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002738/0.1569, allocations: 374.4 kB / 306.1 MB, free: 16.01 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005244/0.1574, allocations: 169.4 kB / 306.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/0.1597, allocations: 1.882 MB / 308.1 MB, free: 14.94 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.16, allocations: 369.4 kB / 308.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002048/0.1602, allocations: 78 kB / 308.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000334/0.1606, allocations: 243.8 kB / 308.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.1606, allocations: 0 / 308.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of Templates: time 0.01381/0.1744, allocations: 11 MB / 319.8 MB, free: 5.965 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8456693179905415]