Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.0011/0.0011, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00161/0.00271, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001266/0.001266, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001674/0.00294, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.015/1.015, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08265/1.098, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.428e-05/1.554e-05, allocations: 2.312 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.003676/0.003691, allocations: 3.78 MB / 248.3 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.005421, allocations: 1.109 MB / 249.4 MB, free: 9.41 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002181/0.005639, allocations: 31.75 kB / 249.4 MB, free: 9.379 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.005857, allocations: 158.8 kB / 249.6 MB, free: 9.223 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005575/0.006414, allocations: 321.9 kB / 249.9 MB, free: 8.906 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.006601, allocations: 143.7 kB / 250 MB, free: 8.766 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008897/0.00749, allocations: 1.466 MB / 251.5 MB, free: 7.293 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005317/0.008022, allocations: 0.6669 MB / 252.2 MB, free: 6.574 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007934/0.008816, allocations: 1.036 MB / 253.2 MB, free: 5.539 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007037/0.009519, allocations: 0.7912 MB / 254 MB, free: 4.746 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001588/0.009678, allocations: 160 kB / 254.2 MB, free: 4.59 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002052/0.009883, allocations: 163.9 kB / 254.3 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002574/0.01014, allocations: 403 kB / 254.7 MB, free: 4.035 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003433/0.01048, allocations: 439.2 kB / 255.1 MB, free: 3.605 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.01151, allocations: 1.168 MB / 256.3 MB, free: 2.434 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.607e-05/0.01153, allocations: 0 / 256.3 MB, free: 2.434 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01153, allocations: 0 / 256.3 MB, free: 2.434 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.406e-05/0.01155, allocations: 4 kB / 256.3 MB, free: 2.43 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.001629/0.01318, allocations: 1.796 MB / 258.1 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.01321, allocations: 8.031 kB / 258.1 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003457/0.01356, allocations: 289.9 kB / 258.4 MB, free: 300 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006037/0.01416, allocations: 0.5513 MB / 259 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.534e-05/0.01421, allocations: 82.62 kB / 259 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.01431, allocations: 112.4 kB / 259.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007969/0.01511, allocations: 0.9309 MB / 260.1 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.01513, allocations: 3.938 kB / 260.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.397e-05/0.01519, allocations: 48 kB / 260.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.01521, allocations: 28 kB / 260.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003638/0.01557, allocations: 247.3 kB / 260.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00297/0.01854, allocations: 2.542 MB / 262.9 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.01883, allocations: 313.2 kB / 263.2 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002627/0.0191, allocations: 222.7 kB / 263.5 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.01912, allocations: 8.5 kB / 263.5 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.01915, allocations: 39.06 kB / 263.5 MB, free: 10.94 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 2.324e-06/0.01915, allocations: 0 / 263.5 MB, free: 10.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.0003454/0.0195, allocations: 274 kB / 263.8 MB, free: 10.67 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.01952, allocations: 63.91 kB / 263.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003412/0.01987, allocations: 0.5195 MB / 264.4 MB, free: 10.06 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.01989, allocations: 33.7 kB / 264.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.02007, allocations: 489 kB / 264.9 MB, free: 9.539 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.744e-05/0.02016, allocations: 182.4 kB / 265 MB, free: 9.359 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.303e-05/0.02025, allocations: 90.3 kB / 265.1 MB, free: 9.266 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.02036, allocations: 386.6 kB / 265.5 MB, free: 8.879 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.108e-05/0.02043, allocations: 53.28 kB / 265.6 MB, free: 8.828 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.02054, allocations: 143.6 kB / 265.7 MB, free: 8.656 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.02074, allocations: 245 kB / 265.9 MB, free: 8.387 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.02075, allocations: 0 / 265.9 MB, free: 8.387 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0002907/0.02104, allocations: 298.4 kB / 266.2 MB, free: 8.086 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.02105, allocations: 7.938 kB / 266.2 MB, free: 8.078 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.02106, allocations: 4 kB / 266.2 MB, free: 8.074 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.02107, allocations: 4 kB / 266.3 MB, free: 8.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000455/0.02152, allocations: 192.4 kB / 266.4 MB, free: 7.883 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.02153, allocations: 16.09 kB / 266.5 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.02167, allocations: 51.62 kB / 266.5 MB, free: 7.816 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.02169, allocations: 15.98 kB / 266.5 MB, free: 7.801 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001352/0.02183, allocations: 140.5 kB / 266.7 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.535e-05/0.02189, allocations: 63.88 kB / 266.7 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.788e-05/0.02197, allocations: 83.08 kB / 266.8 MB, free: 7.504 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.02198, allocations: 8 kB / 266.8 MB, free: 7.496 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.02198, allocations: 0 / 266.8 MB, free: 7.496 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.02198, allocations: 7.984 kB / 266.8 MB, free: 7.488 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.02301, allocations: 1.095 MB / 267.9 MB, free: 6.348 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.02301, allocations: 3.984 kB / 267.9 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003475/0.02336, allocations: 165.9 kB / 268.1 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.265e-05/0.02343, allocations: 79.39 kB / 268.2 MB, free: 6.105 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.02344, allocations: 4 kB / 268.2 MB, free: 6.102 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.02346, allocations: 12 kB / 268.2 MB, free: 6.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.02346, allocations: 4 kB / 268.2 MB, free: 6.086 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.02347, allocations: 7.922 kB / 268.2 MB, free: 6.078 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.02386, allocations: 472.1 kB / 268.6 MB, free: 5.578 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.207e-05/0.02391, allocations: 12 kB / 268.7 MB, free: 5.566 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.02407, allocations: 35.97 kB / 268.7 MB, free: 5.531 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.382e-05/0.02412, allocations: 40.42 kB / 268.7 MB, free: 5.492 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.02414, allocations: 11.98 kB / 268.7 MB, free: 5.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001816/0.02432, allocations: 256.6 kB / 269 MB, free: 5.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02432, allocations: 0 / 269 MB, free: 5.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003468/0.02467, allocations: 291 kB / 269.3 MB, free: 4.945 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001047/0.02477, allocations: 100.3 kB / 269.4 MB, free: 4.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004922/0.02526, allocations: 224.4 kB / 269.6 MB, free: 4.617 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-05/0.02528, allocations: 12 kB / 269.6 MB, free: 4.605 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.02539, allocations: 128.5 kB / 269.7 MB, free: 4.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/0.02584, allocations: 223.7 kB / 269.9 MB, free: 4.262 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005669/0.03151, allocations: 2.092 MB / 272 MB, free: 2.113 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.03172, allocations: 313.5 kB / 272.3 MB, free: 1.785 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001861/0.03191, allocations: 89.92 kB / 272.4 MB, free: 1.695 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003238/0.03223, allocations: 221.2 kB / 272.7 MB, free: 1.477 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.03224, allocations: 0 / 272.7 MB, free: 1.477 MB / 266.7 MB Notification: Performance of Templates: time 0.01423/0.04647, allocations: 11.3 MB / 283.9 MB, free: 6.406 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.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.6644533732905984]