Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.013/1.013, allocations: 173.3 MB / 201.1 MB, free: 9.336 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.521e-05/2.718e-05, allocations: 6.25 kB / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.003784/0.003811, allocations: 3.747 MB / 271.7 MB, free: 2.668 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.005144, allocations: 1.001 MB / 272.7 MB, free: 1.664 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002236/0.005368, allocations: 31.81 kB / 272.8 MB, free: 1.633 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.00564, allocations: 154.8 kB / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006971/0.006337, allocations: 321.9 kB / 273.2 MB, free: 1.164 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.006554, allocations: 123.8 kB / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001275/0.007829, allocations: 1.451 MB / 274.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005898/0.008419, allocations: 0.6435 MB / 275.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007741/0.009193, allocations: 0.9589 MB / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008264/0.01002, allocations: 0.7834 MB / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001781/0.0102, allocations: 156 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001767/0.01037, allocations: 160 kB / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000295/0.01067, allocations: 490.6 kB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004576/0.01113, allocations: 0.5262 MB / 278.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.01214, allocations: 1.242 MB / 279.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.01214, allocations: 0 / 279.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01214, allocations: 0 / 279.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.914e-05/0.01217, allocations: 0 / 279.7 MB, free: 10.59 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002264/0.01444, allocations: 1.789 MB / 281.5 MB, free: 8.758 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.01448, allocations: 12.92 kB / 281.5 MB, free: 8.746 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002444/0.01472, allocations: 240 kB / 281.8 MB, free: 8.512 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008908/0.01561, allocations: 0.7479 MB / 282.5 MB, free: 7.734 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.538e-05/0.01567, allocations: 82.62 kB / 282.6 MB, free: 7.652 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.0158, allocations: 116.3 kB / 282.7 MB, free: 7.539 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.01699, allocations: 1.044 MB / 283.8 MB, free: 6.406 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.01702, allocations: 0 / 283.8 MB, free: 6.406 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.535e-05/0.01708, allocations: 44 kB / 283.8 MB, free: 6.363 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.0171, allocations: 28 kB / 283.8 MB, free: 6.336 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007173/0.01782, allocations: 385 kB / 284.2 MB, free: 5.949 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003952/0.02177, allocations: 3.468 MB / 287.7 MB, free: 2.352 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007248/0.0225, allocations: 359.6 kB / 288 MB, free: 1.992 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004131/0.02291, allocations: 263.6 kB / 288.3 MB, free: 1.734 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.02294, allocations: 12.5 kB / 288.3 MB, free: 1.723 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.02298, allocations: 41.89 kB / 288.3 MB, free: 1.672 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 4.399e-06/0.02298, allocations: 3.984 kB / 288.3 MB, free: 1.668 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.0006118/0.02359, allocations: 404.6 kB / 288.7 MB, free: 1.266 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.02362, allocations: 55.91 kB / 288.8 MB, free: 1.199 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000635/0.02426, allocations: 0.6831 MB / 289.5 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.0243, allocations: 41.64 kB / 289.5 MB, free: 468 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1265/0.1508, allocations: 0.6223 MB / 290.1 MB, free: 29.13 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000209/0.151, allocations: 190 kB / 290.3 MB, free: 29.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.1512, allocations: 116.2 kB / 290.4 MB, free: 29.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002179/0.1514, allocations: 0.5846 MB / 291 MB, free: 28.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.1516, allocations: 77.41 kB / 291.1 MB, free: 28.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.1518, allocations: 203.5 kB / 291.3 MB, free: 28.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003862/0.1522, allocations: 318.2 kB / 291.6 MB, free: 28.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.1522, allocations: 1.75 kB / 291.6 MB, free: 28.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007376/0.1529, allocations: 415.7 kB / 292 MB, free: 28.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.153, allocations: 6.984 kB / 292 MB, free: 28.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.153, allocations: 6.75 kB / 292 MB, free: 28.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.097e-05/0.153, allocations: 3.875 kB / 292 MB, free: 28.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004323/0.1534, allocations: 146 kB / 292.2 MB, free: 28.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.1535, allocations: 5.156 kB / 292.2 MB, free: 28.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/0.1537, allocations: 65.94 kB / 292.2 MB, free: 28.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.1537, allocations: 21.95 kB / 292.3 MB, free: 28.21 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.0002975/0.154, allocations: 188.2 kB / 292.5 MB, free: 28.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.738e-05/0.1541, allocations: 89.3 kB / 292.5 MB, free: 28.02 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.361e-05/0.1542, allocations: 82.89 kB / 292.6 MB, free: 27.99 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.1542, allocations: 5.406 kB / 292.6 MB, free: 27.99 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.1542, allocations: 0.6562 kB / 292.6 MB, free: 27.99 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.1542, allocations: 2.25 kB / 292.6 MB, free: 27.99 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001856/0.1561, allocations: 1.413 MB / 294 MB, free: 27.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.1561, allocations: 2.219 kB / 294 MB, free: 27.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003051/0.1564, allocations: 119 kB / 294.2 MB, free: 27.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.1564, allocations: 4.094 kB / 294.2 MB, free: 27.61 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.595e-05/0.1565, allocations: 14.58 kB / 294.2 MB, free: 27.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.1565, allocations: 3.625 kB / 294.2 MB, free: 27.61 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.1565, allocations: 6.094 kB / 294.2 MB, free: 27.61 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007376/0.1572, allocations: 0.6269 MB / 294.8 MB, free: 27.31 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.1573, allocations: 96.58 kB / 294.9 MB, free: 27.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.42e-05/0.1574, allocations: 15.14 kB / 294.9 MB, free: 27.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.1576, allocations: 41.45 kB / 295 MB, free: 27.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.1577, allocations: 49.25 kB / 295 MB, free: 27.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/0.1578, allocations: 16.45 kB / 295 MB, free: 27.26 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004529/0.1582, allocations: 435.6 kB / 295.5 MB, free: 27.12 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1582, allocations: 1.125 kB / 295.5 MB, free: 27.12 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006475/0.1589, allocations: 290.4 kB / 295.7 MB, free: 27.09 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.0001388/0.159, allocations: 121.9 kB / 295.9 MB, free: 27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004447/0.1595, allocations: 285.6 kB / 296.1 MB, free: 26.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1595, allocations: 2.25 kB / 296.1 MB, free: 26.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.1597, allocations: 152.2 kB / 296.3 MB, free: 26.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005835/0.1602, allocations: 166.7 kB / 296.4 MB, free: 26.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002899/0.1631, allocations: 1.956 MB / 298.4 MB, free: 26.06 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/0.1635, allocations: 362.8 kB / 298.8 MB, free: 25.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003595/0.1639, allocations: 154.5 kB / 298.9 MB, free: 25.97 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.164, allocations: 56.83 kB / 299 MB, free: 25.96 MB / 266.7 MB Notification: Performance of SimCode: time 1.273e-06/0.164, allocations: 5.188 kB / 299 MB, free: 25.96 MB / 266.7 MB Notification: Performance of Templates: time 0.0128/0.1768, allocations: 9.765 MB / 308.7 MB, free: 20.89 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.212090231012553]