Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.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_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.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_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 174.8 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000867/0.0008671, allocations: 97.39 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.0003452, allocations: 12 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2268, allocations: 47.57 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.003192/0.23, allocations: 3.202 MB / 378.3 MB, free: 42.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.2319, allocations: 1.015 MB / 379.3 MB, free: 42.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003444/0.2323, allocations: 15.22 kB / 379.3 MB, free: 42.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000283/0.2326, allocations: 118 kB / 379.4 MB, free: 41.97 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007804/0.2334, allocations: 267.3 kB / 379.7 MB, free: 41.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.2337, allocations: 90.06 kB / 379.8 MB, free: 41.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001381/0.2351, allocations: 1.533 MB / 381.3 MB, free: 40.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.2362, allocations: 0.958 MB / 382.3 MB, free: 40.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008509/0.237, allocations: 491.6 kB / 382.7 MB, free: 40.05 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009162/0.2379, allocations: 0.6317 MB / 383.4 MB, free: 39.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001519/0.2381, allocations: 76.31 kB / 383.5 MB, free: 39.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002196/0.2383, allocations: 75.06 kB / 383.5 MB, free: 39.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002966/0.2386, allocations: 362.1 kB / 383.9 MB, free: 39.42 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006998/0.2394, allocations: 0.6285 MB / 384.5 MB, free: 38.99 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.2406, allocations: 1.642 MB / 386.2 MB, free: 37.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/0.2406, allocations: 0 / 386.2 MB, free: 37.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.925e-06/0.2406, allocations: 4 kB / 386.2 MB, free: 37.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.525e-05/0.2407, allocations: 0 / 386.2 MB, free: 37.57 MB / 298.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.002555/0.2433, allocations: 1.462 MB / 387.6 MB, free: 36.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.2433, allocations: 8.031 kB / 387.6 MB, free: 36.04 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000189/0.2435, allocations: 147.2 kB / 387.8 MB, free: 35.9 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009618/0.2445, allocations: 0.8228 MB / 388.6 MB, free: 35.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.643e-05/0.2445, allocations: 82.62 kB / 388.7 MB, free: 34.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.2447, allocations: 111.9 kB / 388.8 MB, free: 34.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002005/0.2467, allocations: 1.568 MB / 390.3 MB, free: 33.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.2467, allocations: 0 / 390.3 MB, free: 33.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.064e-05/0.2468, allocations: 48 kB / 390.4 MB, free: 33.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.2468, allocations: 28 kB / 390.4 MB, free: 33.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001743/0.2486, allocations: 1.332 MB / 391.8 MB, free: 31.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005244/0.2538, allocations: 4.369 MB / 396.1 MB, free: 27.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009281/0.2548, allocations: 1.337 MB / 397.5 MB, free: 25.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007266/0.2555, allocations: 0.5494 MB / 398 MB, free: 25.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.2556, allocations: 12.36 kB / 398 MB, free: 25.24 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.2556, allocations: 43 kB / 398.1 MB, free: 25.19 MB / 298.7 MB Notification: Performance of pre-optimization done (n=51): time 2.705e-06/0.2556, allocations: 0 / 398.1 MB, free: 25.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=51): time 0.001243/0.2569, allocations: 0.8886 MB / 399 MB, free: 24.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.2569, allocations: 55.84 kB / 399 MB, free: 24.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008597/0.2578, allocations: 0.8204 MB / 399.8 MB, free: 23.4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.2578, allocations: 33.7 kB / 399.9 MB, free: 23.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.2581, allocations: 0.5415 MB / 400.4 MB, free: 22.81 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.549e-05/0.2582, allocations: 177.4 kB / 400.6 MB, free: 22.63 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.2582, allocations: 12 kB / 400.6 MB, free: 22.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.2583, allocations: 390.7 kB / 401 MB, free: 22.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003858/0.2587, allocations: 304.9 kB / 401.3 MB, free: 21.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000417/0.2591, allocations: 410.4 kB / 401.7 MB, free: 21.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007885/0.2599, allocations: 0.702 MB / 402.4 MB, free: 20.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.2599, allocations: 0 / 402.4 MB, free: 20.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001043/0.261, allocations: 0.826 MB / 403.2 MB, free: 19.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.261, allocations: 4 kB / 403.2 MB, free: 19.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.261, allocations: 4 kB / 403.2 MB, free: 19.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.2611, allocations: 4 kB / 403.2 MB, free: 19.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005613/0.2616, allocations: 151.8 kB / 403.4 MB, free: 19.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.2616, allocations: 7.938 kB / 403.4 MB, free: 19.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003978/0.262, allocations: 79.44 kB / 403.4 MB, free: 19.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/0.2621, allocations: 23.98 kB / 403.5 MB, free: 19.66 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000663/0.2628, allocations: 449.5 kB / 403.9 MB, free: 19.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.914e-05/0.2629, allocations: 79.16 kB / 404 MB, free: 19.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001485/0.263, allocations: 95.05 kB / 404.1 MB, free: 19.04 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.263, allocations: 4 kB / 404.1 MB, free: 19.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.2631, allocations: 0 / 404.1 MB, free: 19.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.2631, allocations: 7.938 kB / 404.1 MB, free: 19.03 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002723/0.2658, allocations: 1.97 MB / 406.1 MB, free: 16.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.2658, allocations: 0 / 406.1 MB, free: 16.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004643/0.2663, allocations: 119.8 kB / 406.2 MB, free: 16.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.2663, allocations: 8 kB / 406.2 MB, free: 16.86 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/0.2663, allocations: 11.98 kB / 406.2 MB, free: 16.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.2664, allocations: 4 kB / 406.2 MB, free: 16.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2664, allocations: 0 / 406.2 MB, free: 16.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.2676, allocations: 1.141 MB / 407.3 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.2678, allocations: 172.2 kB / 407.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.023e-05/0.2679, allocations: 12 kB / 407.5 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003663/0.2683, allocations: 55.95 kB / 407.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.2684, allocations: 44.31 kB / 407.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/0.2684, allocations: 16 kB / 407.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007046/0.2691, allocations: 0.581 MB / 408.2 MB, free: 14.78 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2691, allocations: 0 / 408.2 MB, free: 14.78 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000857/0.27, allocations: 286.7 kB / 408.5 MB, free: 14.5 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001812/0.2702, allocations: 119.1 kB / 408.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008812/0.2711, allocations: 0.6499 MB / 409.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.2711, allocations: 0 / 409.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003781/0.2715, allocations: 334.2 kB / 409.6 MB, free: 13.4 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009176/0.2724, allocations: 176.1 kB / 409.8 MB, free: 13.22 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/0.2756, allocations: 2.734 MB / 412.5 MB, free: 10.44 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006458/0.2763, allocations: 1.317 MB / 413.8 MB, free: 9.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/0.2765, allocations: 55.42 kB / 413.9 MB, free: 9.035 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2765, allocations: 0 / 413.9 MB, free: 9.035 MB / 298.7 MB Notification: Performance of Templates: time 0.0192/0.2957, allocations: 13.14 MB / 427 MB, free: 11.91 MB / 314.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYD/TransformerYD.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches