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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009226/0.0009227, allocations: 88.78 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 177.4 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 223.3 MB / 241.6 MB, free: 14.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002944/0.0002944, allocations: 7.938 kB / 301.4 MB, free: 5.914 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.126, allocations: 50.41 MB / 351.8 MB, free: 3.496 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005958/0.132, allocations: 3.41 MB / 355.2 MB, free: 64 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002754/0.1348, allocations: 0.9737 MB / 356.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006358/0.1355, allocations: 19.94 kB / 356.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005342/0.136, allocations: 123.2 kB / 356.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001356/0.1374, allocations: 274.7 kB / 356.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00044/0.1379, allocations: 103.9 kB / 356.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002416/0.1403, allocations: 1.654 MB / 358.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001895/0.1422, allocations: 1.019 MB / 359.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000912/0.1432, allocations: 490 kB / 359.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/0.1444, allocations: 0.6534 MB / 360.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002011/0.1446, allocations: 76 kB / 360.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000259/0.1449, allocations: 68 kB / 360.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003351/0.1452, allocations: 350.8 kB / 361 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008853/0.1461, allocations: 0.639 MB / 361.6 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002215/0.1484, allocations: 1.931 MB / 363.6 MB, free: 7.648 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1484, allocations: 0 / 363.6 MB, free: 7.648 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1484, allocations: 0 / 363.6 MB, free: 7.648 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.355e-05/0.1485, allocations: 4 kB / 363.6 MB, free: 7.645 MB / 302.1 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.004028/0.1525, allocations: 1.489 MB / 365.1 MB, free: 6.102 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.1526, allocations: 8.031 kB / 365.1 MB, free: 6.094 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005326/0.1531, allocations: 139.3 kB / 365.2 MB, free: 5.957 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/0.1549, allocations: 0.8616 MB / 366.1 MB, free: 5.055 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.155, allocations: 82.62 kB / 366.2 MB, free: 4.973 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002568/0.1552, allocations: 111.9 kB / 366.3 MB, free: 4.863 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0035/0.1588, allocations: 1.584 MB / 367.9 MB, free: 3.234 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.434e-05/0.1588, allocations: 0 / 367.9 MB, free: 3.234 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001719/0.159, allocations: 51.98 kB / 367.9 MB, free: 3.184 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.403e-05/0.159, allocations: 24 kB / 367.9 MB, free: 3.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002911/0.162, allocations: 1.348 MB / 369.3 MB, free: 1.805 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1826/0.3445, allocations: 4.345 MB / 373.6 MB, free: 22.24 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.3457, allocations: 1.345 MB / 375 MB, free: 21.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009466/0.3467, allocations: 0.5441 MB / 375.5 MB, free: 21.35 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.3467, allocations: 5.562 kB / 375.5 MB, free: 21.35 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.3467, allocations: 44.22 kB / 375.6 MB, free: 21.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.554e-06/0.3468, allocations: 0 / 375.6 MB, free: 21.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.001554/0.3483, allocations: 0.891 MB / 376.4 MB, free: 21.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.3484, allocations: 57.34 kB / 376.5 MB, free: 21.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.3494, allocations: 0.8237 MB / 377.3 MB, free: 20.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.27e-05/0.3494, allocations: 40.06 kB / 377.4 MB, free: 20.78 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/0.3497, allocations: 0.5423 MB / 377.9 MB, free: 20.37 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.3498, allocations: 182.6 kB / 378.1 MB, free: 20.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-05/0.3499, allocations: 49.98 kB / 378.1 MB, free: 20.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.35, allocations: 382.6 kB / 378.5 MB, free: 19.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004394/0.3505, allocations: 310.5 kB / 378.8 MB, free: 19.76 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004998/0.351, allocations: 404 kB / 379.2 MB, free: 19.58 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009326/0.3519, allocations: 0.7008 MB / 379.9 MB, free: 19.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3519, allocations: 1.031 kB / 379.9 MB, free: 19.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001218/0.3532, allocations: 0.839 MB / 380.7 MB, free: 18.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.3532, allocations: 6.25 kB / 380.8 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3532, allocations: 2.188 kB / 380.8 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.3532, allocations: 6.125 kB / 380.8 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005898/0.3538, allocations: 159.1 kB / 380.9 MB, free: 18.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.3538, allocations: 4.219 kB / 380.9 MB, free: 18.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003588/0.3542, allocations: 63.62 kB / 381 MB, free: 18.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.3543, allocations: 16.83 kB / 381 MB, free: 18.9 MB / 302.1 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.0005381/0.3548, allocations: 463.9 kB / 381.5 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.3549, allocations: 72.28 kB / 381.5 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001937/0.3551, allocations: 97.77 kB / 381.6 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.3551, allocations: 5.062 kB / 381.6 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.3551, allocations: 1.125 kB / 381.6 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.597e-06/0.3551, allocations: 3.047 kB / 381.6 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003014/0.3582, allocations: 1.961 MB / 383.6 MB, free: 17.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.3582, allocations: 5.844 kB / 383.6 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005044/0.3587, allocations: 122.8 kB / 383.7 MB, free: 17.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.3587, allocations: 11.73 kB / 383.7 MB, free: 17.65 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/0.3587, allocations: 14.62 kB / 383.7 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.3588, allocations: 3.281 kB / 383.7 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.3588, allocations: 2.812 kB / 383.7 MB, free: 17.64 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/0.3602, allocations: 1.138 MB / 384.9 MB, free: 17.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.3604, allocations: 180 kB / 385.1 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.247e-05/0.3605, allocations: 9.797 kB / 385.1 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004054/0.3609, allocations: 62.39 kB / 385.1 MB, free: 16.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.361, allocations: 36.08 kB / 385.2 MB, free: 16.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/0.3611, allocations: 17.06 kB / 385.2 MB, free: 16.94 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007246/0.3618, allocations: 0.5934 MB / 385.8 MB, free: 16.7 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3618, allocations: 0 / 385.8 MB, free: 16.7 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008469/0.3627, allocations: 280 kB / 386 MB, free: 16.62 MB / 302.1 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.0001556/0.3628, allocations: 116.2 kB / 386.2 MB, free: 16.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.364, allocations: 0.6596 MB / 386.8 MB, free: 16.33 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.364, allocations: 1.031 kB / 386.8 MB, free: 16.33 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00048/0.3645, allocations: 331.8 kB / 387.1 MB, free: 16.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.3655, allocations: 176.5 kB / 387.3 MB, free: 16.17 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003464/0.369, allocations: 2.845 MB / 390.2 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006662/0.3697, allocations: 1.34 MB / 391.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005199/0.3702, allocations: 209.4 kB / 391.7 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.3704, allocations: 51.97 kB / 391.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3704, allocations: 0 / 391.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of Templates: time 0.01443/0.3848, allocations: 9.388 MB / 401.1 MB, free: 5.961 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches