Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.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 3.2.3+maint.om/package.mo", uses=false) 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 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.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.00122, allocations: 109.4 kB / 17.73 MB, free: 5.344 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.00131/0.00131, allocations: 184.1 kB / 18.66 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 51.94 kB / 328.5 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09456/0.09593, allocations: 46.62 MB / 375.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.005135/0.1011, allocations: 3.723 MB / 378.9 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2127/0.3138, allocations: 1.005 MB / 379.9 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005687/0.3144, allocations: 17.53 kB / 379.9 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003899/0.3149, allocations: 152.3 kB / 380 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009479/0.3158, allocations: 284.3 kB / 380.3 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.3162, allocations: 136.9 kB / 380.4 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001368/0.3175, allocations: 1.409 MB / 381.9 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001495/0.319, allocations: 1.112 MB / 383 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009513/0.32, allocations: 0.6235 MB / 383.6 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009854/0.321, allocations: 0.7557 MB / 384.3 MB, free: 8.918 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002113/0.3212, allocations: 156.8 kB / 384.5 MB, free: 8.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002723/0.3215, allocations: 159.5 kB / 384.7 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004517/0.322, allocations: 460.3 kB / 385.1 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008533/0.3228, allocations: 0.7265 MB / 385.8 MB, free: 8.219 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002471/0.3253, allocations: 2.028 MB / 387.9 MB, free: 7.539 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.3253, allocations: 4 kB / 387.9 MB, free: 7.535 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3253, allocations: 1.188 kB / 387.9 MB, free: 7.535 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.056e-05/0.3254, allocations: 0 / 387.9 MB, free: 7.535 MB / 318.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.003467/0.3289, allocations: 1.66 MB / 389.5 MB, free: 6.531 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.3289, allocations: 14.58 kB / 389.5 MB, free: 6.527 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002953/0.3292, allocations: 142.8 kB / 389.7 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.3305, allocations: 0.8074 MB / 390.5 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.146e-05/0.3306, allocations: 86.97 kB / 390.6 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.3308, allocations: 111.9 kB / 390.7 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003135/0.3339, allocations: 1.541 MB / 392.2 MB, free: 5.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.334, allocations: 0 / 392.2 MB, free: 5.27 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.3341, allocations: 48.05 kB / 392.3 MB, free: 5.234 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.388e-05/0.3341, allocations: 31.03 kB / 392.3 MB, free: 5.23 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002393/0.3365, allocations: 1.314 MB / 393.6 MB, free: 4.777 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006573/0.3431, allocations: 4.16 MB / 397.8 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.3442, allocations: 1.313 MB / 399.1 MB, free: 1.465 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006536/0.3448, allocations: 451.8 kB / 399.5 MB, free: 1.242 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.3449, allocations: 6.219 kB / 399.5 MB, free: 1.242 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.3449, allocations: 37.31 kB / 399.6 MB, free: 1.199 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 3.456e-06/0.3449, allocations: 5.062 kB / 399.6 MB, free: 1.195 MB / 318.1 MB Notification: Performance of matching and sorting (n=51): time 0.003365/0.3483, allocations: 1.943 MB / 401.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.3483, allocations: 56.53 kB / 401.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.3495, allocations: 0.8141 MB / 402.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.235e-05/0.3496, allocations: 35.11 kB / 402.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000425/0.35, allocations: 0.5397 MB / 403 MB, free: 14.96 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.3502, allocations: 181.2 kB / 403.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.3504, allocations: 103.7 kB / 403.2 MB, free: 14.74 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002079/0.3506, allocations: 391.3 kB / 403.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004857/0.3511, allocations: 299.7 kB / 403.9 MB, free: 14.22 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005621/0.3517, allocations: 410.6 kB / 404.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.3528, allocations: 0.695 MB / 405 MB, free: 13.53 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3528, allocations: 0 / 405 MB, free: 13.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001648/0.3544, allocations: 0.9151 MB / 405.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.3545, allocations: 9.594 kB / 405.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.3545, allocations: 3.438 kB / 405.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003258/0.3548, allocations: 108.7 kB / 406 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005249/0.3554, allocations: 123.9 kB / 406.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002375/0.3577, allocations: 2.371 MB / 408.5 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005428/0.3583, allocations: 28 kB / 408.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/0.3584, allocations: 23.38 kB / 408.6 MB, free: 10.83 MB / 334.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.0008031/0.3592, allocations: 466.7 kB / 409 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.3593, allocations: 79.33 kB / 409.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/0.3595, allocations: 91.11 kB / 409.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.3595, allocations: 8.406 kB / 409.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-05/0.3595, allocations: 1.781 kB / 409.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.3595, allocations: 3.984 kB / 409.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003368/0.3629, allocations: 2.005 MB / 411.2 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.3629, allocations: 1.531 kB / 411.2 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004075/0.3633, allocations: 95.25 kB / 411.3 MB, free: 9.086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002808/0.3636, allocations: 104.9 kB / 411.4 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-05/0.3637, allocations: 17.48 kB / 411.4 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002423/0.3661, allocations: 2.323 MB / 413.8 MB, free: 6.949 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3661, allocations: 1.438 kB / 413.8 MB, free: 6.949 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/0.3683, allocations: 1.202 MB / 415 MB, free: 5.781 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00035/0.3686, allocations: 164.3 kB / 415.1 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.131e-05/0.3687, allocations: 16 kB / 415.1 MB, free: 5.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004108/0.3691, allocations: 44.02 kB / 415.2 MB, free: 5.543 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.3693, allocations: 48.31 kB / 415.2 MB, free: 5.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/0.3693, allocations: 16 kB / 415.2 MB, free: 5.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007982/0.3701, allocations: 0.5849 MB / 415.8 MB, free: 4.898 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.3701, allocations: 0 / 415.8 MB, free: 4.898 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009707/0.3711, allocations: 212 kB / 416 MB, free: 4.691 MB / 334.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.0001881/0.3713, allocations: 119.1 kB / 416.2 MB, free: 4.562 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001611/0.3729, allocations: 0.8134 MB / 417 MB, free: 3.734 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.3729, allocations: 4.062 kB / 417 MB, free: 3.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008656/0.3738, allocations: 0.4935 MB / 417.5 MB, free: 3.227 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.3749, allocations: 174.8 kB / 417.6 MB, free: 3.062 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00507/0.38, allocations: 2.189 MB / 419.8 MB, free: 0.832 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001449/0.3815, allocations: 1.336 MB / 421.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006383/0.3821, allocations: 177.8 kB / 421.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/0.3824, allocations: 51.42 kB / 421.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of SimCode: time 1.883e-06/0.3824, allocations: 0 / 421.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of Templates: time 0.02287/0.4053, allocations: 10.59 MB / 432 MB, free: 4.66 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches