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.001098/0.001098, allocations: 114.4 kB / 17.69 MB, free: 5.309 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.00132/0.00132, allocations: 191 kB / 18.63 MB, free: 4.375 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.319/1.319, allocations: 222.9 MB / 242.3 MB, free: 15.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000971/0.0009712, allocations: 45.38 kB / 302.1 MB, free: 5.25 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09228/0.09327, allocations: 49.45 MB / 351.5 MB, free: 3.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.004474/0.09777, allocations: 3.754 MB / 355.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.09949, allocations: 0.993 MB / 356.3 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002056/0.09971, allocations: 23.88 kB / 356.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.1, allocations: 150.8 kB / 356.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007125/0.1008, allocations: 290.4 kB / 356.7 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.101, allocations: 123.8 kB / 356.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.1023, allocations: 1.408 MB / 358.2 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.1035, allocations: 1.221 MB / 359.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006225/0.1041, allocations: 0.6464 MB / 360.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009322/0.1051, allocations: 0.7706 MB / 360.9 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001857/0.1053, allocations: 163.9 kB / 361 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002231/0.1055, allocations: 156 kB / 361.2 MB, free: 10 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004074/0.1059, allocations: 466.8 kB / 361.6 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007417/0.1067, allocations: 0.7466 MB / 362.4 MB, free: 8.793 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.1082, allocations: 2.064 MB / 364.5 MB, free: 6.723 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1082, allocations: 0 / 364.5 MB, free: 6.723 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1083, allocations: 4 kB / 364.5 MB, free: 6.719 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.557e-05/0.1083, allocations: 0 / 364.5 MB, free: 6.719 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.002749/0.111, allocations: 1.687 MB / 366.1 MB, free: 4.977 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1111, allocations: 11.97 kB / 366.2 MB, free: 4.965 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002113/0.1113, allocations: 143.2 kB / 366.3 MB, free: 4.824 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.1128, allocations: 0.8889 MB / 367.2 MB, free: 3.895 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.76e-05/0.1128, allocations: 82.62 kB / 367.3 MB, free: 3.812 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.113, allocations: 111.9 kB / 367.4 MB, free: 3.703 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/0.1153, allocations: 1.568 MB / 368.9 MB, free: 2.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.1153, allocations: 0 / 368.9 MB, free: 2.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.62e-05/0.1154, allocations: 51.94 kB / 369 MB, free: 2.039 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-05/0.1154, allocations: 28 kB / 369 MB, free: 2.012 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/0.1174, allocations: 1.328 MB / 370.4 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1639/0.2813, allocations: 4.27 MB / 374.6 MB, free: 23.67 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009075/0.2822, allocations: 1.335 MB / 376 MB, free: 22.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007655/0.283, allocations: 0.5252 MB / 376.5 MB, free: 22.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.283, allocations: 10.34 kB / 376.5 MB, free: 22.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.2831, allocations: 44.19 kB / 376.5 MB, free: 22.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.585e-06/0.2831, allocations: 0 / 376.5 MB, free: 22.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.001341/0.2844, allocations: 0.8685 MB / 377.4 MB, free: 22.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.2845, allocations: 57.34 kB / 377.5 MB, free: 21.99 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.2857, allocations: 0.8242 MB / 378.3 MB, free: 21.67 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.388e-05/0.2858, allocations: 36.42 kB / 378.3 MB, free: 21.63 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004047/0.2862, allocations: 0.5426 MB / 378.9 MB, free: 21.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/0.2864, allocations: 181.8 kB / 379 MB, free: 21.1 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/0.2866, allocations: 102.5 kB / 379.1 MB, free: 21.05 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.2868, allocations: 382.9 kB / 379.5 MB, free: 20.71 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005559/0.2873, allocations: 306 kB / 379.8 MB, free: 20.61 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005457/0.2879, allocations: 395.5 kB / 380.2 MB, free: 20.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009422/0.2889, allocations: 0.6888 MB / 380.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.2889, allocations: 0 / 380.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001236/0.2901, allocations: 0.8267 MB / 381.7 MB, free: 19.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.2901, allocations: 9.719 kB / 381.7 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.2902, allocations: 6.094 kB / 381.7 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.2902, allocations: 4.406 kB / 381.7 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005933/0.2908, allocations: 148.6 kB / 381.9 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.2908, allocations: 8.531 kB / 381.9 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003592/0.2912, allocations: 63.17 kB / 382 MB, free: 19.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.703e-05/0.2912, allocations: 18.48 kB / 382 MB, free: 19.75 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.000533/0.2918, allocations: 462.5 kB / 382.4 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.861e-05/0.2919, allocations: 76.56 kB / 382.5 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001481/0.292, allocations: 89.58 kB / 382.6 MB, free: 19.4 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.292, allocations: 6.375 kB / 382.6 MB, free: 19.4 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.292, allocations: 0 / 382.6 MB, free: 19.4 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.292, allocations: 5.672 kB / 382.6 MB, free: 19.4 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002903/0.295, allocations: 1.942 MB / 384.5 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.295, allocations: 1.188 kB / 384.5 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000479/0.2955, allocations: 126.4 kB / 384.7 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.2955, allocations: 6.469 kB / 384.7 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/0.2955, allocations: 15.16 kB / 384.7 MB, free: 18.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.2955, allocations: 3.672 kB / 384.7 MB, free: 18.51 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.2955, allocations: 1.312 kB / 384.7 MB, free: 18.51 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.2968, allocations: 1.123 MB / 385.8 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001772/0.297, allocations: 178.5 kB / 386 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.2971, allocations: 10.23 kB / 386 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000382/0.2975, allocations: 47.28 kB / 386 MB, free: 17.83 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.283e-05/0.2976, allocations: 35.56 kB / 386.1 MB, free: 17.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.1e-05/0.2976, allocations: 19.38 kB / 386.1 MB, free: 17.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006137/0.2982, allocations: 0.5914 MB / 386.7 MB, free: 17.49 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2982, allocations: 0 / 386.7 MB, free: 17.49 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000681/0.2989, allocations: 288.2 kB / 387 MB, free: 17.41 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.0001257/0.2991, allocations: 118.5 kB / 387.1 MB, free: 17.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008875/0.3, allocations: 0.6515 MB / 387.7 MB, free: 16.99 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.3, allocations: 5.5 kB / 387.7 MB, free: 16.99 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003888/0.3004, allocations: 326 kB / 388.1 MB, free: 16.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007854/0.3012, allocations: 178.9 kB / 388.2 MB, free: 16.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002763/0.3039, allocations: 2.258 MB / 390.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006477/0.3046, allocations: 1.339 MB / 391.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004392/0.305, allocations: 205.9 kB / 392 MB, free: 14.33 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.3052, allocations: 55.42 kB / 392.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3052, allocations: 4 kB / 392.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of Templates: time 0.01401/0.3192, allocations: 9.992 MB / 402.1 MB, free: 5.832 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 -s cvode -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