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.00162/0.00162, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001968/0.001968, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.401/1.401, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 50.61 kB / 301.3 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09465/0.09578, allocations: 49.45 MB / 350.7 MB, free: 4.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.00527/0.1011, allocations: 3.754 MB / 354.5 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.1031, allocations: 1.005 MB / 355.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005038/0.1037, allocations: 23.88 kB / 355.5 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004261/0.1041, allocations: 146.8 kB / 355.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.1052, allocations: 294.4 kB / 355.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.1055, allocations: 123.8 kB / 356.1 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001497/0.107, allocations: 1.405 MB / 357.5 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001377/0.1084, allocations: 1.221 MB / 358.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008515/0.1092, allocations: 0.6425 MB / 359.3 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001203/0.1105, allocations: 0.7667 MB / 360.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003414/0.1108, allocations: 160 kB / 360.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003906/0.1112, allocations: 164 kB / 360.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004916/0.1117, allocations: 462.7 kB / 360.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.1128, allocations: 0.7428 MB / 361.6 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001812/0.1146, allocations: 2.049 MB / 363.7 MB, free: 7.406 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1146, allocations: 0 / 363.7 MB, free: 7.406 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1146, allocations: 0 / 363.7 MB, free: 7.406 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.203e-05/0.1147, allocations: 0 / 363.7 MB, free: 7.406 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.003405/0.1181, allocations: 1.687 MB / 365.3 MB, free: 5.664 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.1182, allocations: 8.031 kB / 365.4 MB, free: 5.656 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002457/0.1184, allocations: 143.2 kB / 365.5 MB, free: 5.516 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.1197, allocations: 0.8578 MB / 366.3 MB, free: 4.617 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.879e-05/0.1198, allocations: 86.62 kB / 366.4 MB, free: 4.531 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.12, allocations: 115.9 kB / 366.5 MB, free: 4.418 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00239/0.1224, allocations: 1.568 MB / 368.1 MB, free: 2.805 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.1224, allocations: 3.938 kB / 368.1 MB, free: 2.801 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.1225, allocations: 51.94 kB / 368.2 MB, free: 2.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.003e-05/0.1225, allocations: 28 kB / 368.2 MB, free: 2.723 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.1247, allocations: 1.328 MB / 369.5 MB, free: 1.387 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1581/0.2828, allocations: 4.314 MB / 373.8 MB, free: 23.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.2838, allocations: 1.348 MB / 375.2 MB, free: 22.8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00087/0.2847, allocations: 0.5191 MB / 375.7 MB, free: 22.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.2848, allocations: 9.312 kB / 375.7 MB, free: 22.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.2848, allocations: 42.19 kB / 375.8 MB, free: 22.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.374e-06/0.2848, allocations: 0 / 375.8 MB, free: 22.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.0014/0.2862, allocations: 0.8678 MB / 376.6 MB, free: 22.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.2862, allocations: 56.62 kB / 376.7 MB, free: 22.22 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.2873, allocations: 0.8245 MB / 377.5 MB, free: 21.9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/0.2873, allocations: 36.58 kB / 377.5 MB, free: 21.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003026/0.2876, allocations: 0.5462 MB / 378.1 MB, free: 21.47 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.2877, allocations: 179.4 kB / 378.3 MB, free: 21.33 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.2879, allocations: 102.2 kB / 378.4 MB, free: 21.28 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.288, allocations: 386.8 kB / 378.7 MB, free: 20.94 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004471/0.2885, allocations: 307 kB / 379 MB, free: 20.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004836/0.2889, allocations: 391.6 kB / 379.4 MB, free: 20.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008989/0.2899, allocations: 0.6862 MB / 380.1 MB, free: 20.35 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2899, allocations: 0 / 380.1 MB, free: 20.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001187/0.2911, allocations: 0.8309 MB / 380.9 MB, free: 20.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.2911, allocations: 10.19 kB / 380.9 MB, free: 20.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.2911, allocations: 2.531 kB / 380.9 MB, free: 20.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.2911, allocations: 4.938 kB / 381 MB, free: 20.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005879/0.2917, allocations: 152 kB / 381.1 MB, free: 20 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.2917, allocations: 4.703 kB / 381.1 MB, free: 20 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003761/0.2921, allocations: 60.09 kB / 381.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/0.2922, allocations: 18.55 kB / 381.2 MB, free: 19.97 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.0005774/0.2927, allocations: 458.6 kB / 381.6 MB, free: 19.72 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.2929, allocations: 82.03 kB / 381.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.293, allocations: 93.34 kB / 381.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.293, allocations: 4.594 kB / 381.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.293, allocations: 6.031 kB / 381.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.293, allocations: 2.109 kB / 381.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002794/0.2958, allocations: 1.944 MB / 383.8 MB, free: 18.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.2959, allocations: 2.844 kB / 383.8 MB, free: 18.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004799/0.2963, allocations: 118.8 kB / 383.9 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.2964, allocations: 5.156 kB / 383.9 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/0.2964, allocations: 17.28 kB / 383.9 MB, free: 18.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.2964, allocations: 3.156 kB / 383.9 MB, free: 18.72 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2964, allocations: 3.219 kB / 383.9 MB, free: 18.72 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/0.2978, allocations: 1.122 MB / 385 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.2979, allocations: 168.2 kB / 385.2 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.247e-05/0.298, allocations: 19.52 kB / 385.2 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003959/0.2984, allocations: 55.2 kB / 385.3 MB, free: 18.04 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.519e-05/0.2985, allocations: 34.94 kB / 385.3 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.2986, allocations: 15.19 kB / 385.3 MB, free: 18.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006336/0.2992, allocations: 0.5934 MB / 385.9 MB, free: 17.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2992, allocations: 0 / 385.9 MB, free: 17.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006585/0.2999, allocations: 288.5 kB / 386.2 MB, free: 17.7 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.0001163/0.3, allocations: 114.9 kB / 386.3 MB, free: 17.61 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.3011, allocations: 0.8007 MB / 387.1 MB, free: 17.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3012, allocations: 1.688 kB / 387.1 MB, free: 17.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003933/0.3016, allocations: 326.6 kB / 387.4 MB, free: 17.17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008441/0.3024, allocations: 182.3 kB / 387.6 MB, free: 17.08 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002904/0.3053, allocations: 2.299 MB / 389.9 MB, free: 15.69 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006257/0.306, allocations: 1.319 MB / 391.2 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.3062, allocations: 56.81 kB / 391.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3062, allocations: 1.375 kB / 391.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of Templates: time 0.01393/0.3201, allocations: 13.28 MB / 404.6 MB, free: 3.211 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/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