Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001498/0.001498, allocations: 112.4 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001801/0.001802, allocations: 213.9 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 59.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2292, allocations: 50.54 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.00434/0.2336, allocations: 3.785 MB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.2351, allocations: 1.013 MB / 414.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001902/0.2353, allocations: 23.88 kB / 414.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.2356, allocations: 146.8 kB / 414.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006201/0.2362, allocations: 282.4 kB / 415.2 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.2364, allocations: 135.8 kB / 415.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001163/0.2376, allocations: 1.397 MB / 416.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.2387, allocations: 1.185 MB / 417.9 MB, free: 9.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005698/0.2393, allocations: 0.6386 MB / 418.5 MB, free: 8.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007646/0.2401, allocations: 0.755 MB / 419.3 MB, free: 8.172 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001566/0.2402, allocations: 156 kB / 419.4 MB, free: 8.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000224/0.2405, allocations: 160 kB / 419.6 MB, free: 7.863 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003327/0.2408, allocations: 462.7 kB / 420 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005807/0.2414, allocations: 0.7311 MB / 420.8 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.2429, allocations: 2.046 MB / 422.8 MB, free: 4.629 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2429, allocations: 0 / 422.8 MB, free: 4.629 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2429, allocations: 0 / 422.8 MB, free: 4.629 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.2429, allocations: 4 kB / 422.8 MB, free: 4.625 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002475/0.2454, allocations: 1.668 MB / 424.5 MB, free: 2.902 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.2454, allocations: 12.03 kB / 424.5 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004294/0.2459, allocations: 163.3 kB / 424.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/0.2472, allocations: 0.9006 MB / 425.5 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.577e-05/0.2473, allocations: 86.34 kB / 425.6 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/0.2474, allocations: 108 kB / 425.7 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/0.2495, allocations: 1.548 MB / 427.3 MB, free: 0 / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.008e-05/0.2496, allocations: 4.047 kB / 427.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.109e-05/0.2497, allocations: 40 kB / 427.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.2497, allocations: 28 kB / 427.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/0.2515, allocations: 1.316 MB / 428.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00545/0.257, allocations: 4.174 MB / 432.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.2581, allocations: 1.315 MB / 434.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006014/0.2587, allocations: 458.5 kB / 434.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.2587, allocations: 12.42 kB / 434.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.2587, allocations: 35 kB / 434.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 1.393e-06/0.2587, allocations: 0 / 434.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.002711/0.2615, allocations: 1.946 MB / 436.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.2615, allocations: 59.84 kB / 436.7 MB, free: 6.223 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008525/0.2624, allocations: 0.8321 MB / 437.5 MB, free: 5.383 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.2624, allocations: 37.7 kB / 437.5 MB, free: 5.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003081/0.2627, allocations: 0.5375 MB / 438.1 MB, free: 4.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.2628, allocations: 173.5 kB / 438.2 MB, free: 4.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.263, allocations: 114.1 kB / 438.3 MB, free: 4.504 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.2632, allocations: 382.8 kB / 438.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004203/0.2636, allocations: 304.9 kB / 439 MB, free: 3.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004568/0.2641, allocations: 399.4 kB / 439.4 MB, free: 3.398 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008891/0.265, allocations: 0.7106 MB / 440.1 MB, free: 2.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.265, allocations: 0 / 440.1 MB, free: 2.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001226/0.2662, allocations: 0.9127 MB / 441 MB, free: 1.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.2662, allocations: 4 kB / 441 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2662, allocations: 4 kB / 441 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002356/0.2665, allocations: 112.7 kB / 441.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004537/0.2669, allocations: 119.8 kB / 441.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/0.2689, allocations: 2.364 MB / 443.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/0.2692, allocations: 35.97 kB / 443.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/0.2693, allocations: 20 kB / 443.7 MB, free: 14.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004537/0.2697, allocations: 461 kB / 444.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.987e-05/0.2699, allocations: 83.05 kB / 444.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.27, allocations: 91.14 kB / 444.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.27, allocations: 4 kB / 444.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.27, allocations: 4 kB / 444.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.27, allocations: 7.922 kB / 444.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00274/0.2728, allocations: 2.001 MB / 446.3 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2728, allocations: 4.156 kB / 446.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003219/0.2731, allocations: 91.88 kB / 446.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002083/0.2733, allocations: 108.6 kB / 446.5 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/0.2734, allocations: 12 kB / 446.5 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002007/0.2754, allocations: 2.307 MB / 448.8 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.2754, allocations: 16.11 kB / 448.9 MB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.2769, allocations: 1.2 MB / 450.1 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001812/0.2771, allocations: 160.3 kB / 450.2 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.996e-05/0.2771, allocations: 19.94 kB / 450.2 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.2775, allocations: 52 kB / 450.3 MB, free: 8.051 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.315e-05/0.2776, allocations: 44.27 kB / 450.3 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.2776, allocations: 24.33 kB / 450.4 MB, free: 7.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006001/0.2782, allocations: 0.5888 MB / 450.9 MB, free: 7.395 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2782, allocations: 0 / 450.9 MB, free: 7.395 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005789/0.2788, allocations: 215.9 kB / 451.2 MB, free: 7.184 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001291/0.279, allocations: 115.2 kB / 451.3 MB, free: 7.059 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.2801, allocations: 0.824 MB / 452.1 MB, free: 6.227 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2801, allocations: 0.625 kB / 452.1 MB, free: 6.227 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006237/0.2807, allocations: 492.8 kB / 452.6 MB, free: 5.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007657/0.2815, allocations: 171.1 kB / 452.7 MB, free: 5.566 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002653/0.2842, allocations: 2.201 MB / 454.9 MB, free: 3.309 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007522/0.285, allocations: 1.309 MB / 456.2 MB, free: 1.973 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.2851, allocations: 59.42 kB / 456.3 MB, free: 1.914 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2851, allocations: 0 / 456.3 MB, free: 1.914 MB / 366.1 MB Notification: Performance of Templates: time 0.03886/0.324, allocations: 19.11 MB / 475.4 MB, free: 14.84 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches