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.001075/0.001076, allocations: 98.05 kB / 18.39 MB, free: 4.664 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.001081/0.001081, allocations: 190.5 kB / 19.33 MB, free: 3.738 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.25/1.25, allocations: 205.1 MB / 225.2 MB, free: 12.2 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.001431/0.001431, allocations: 51.94 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09409/0.09553, allocations: 46.61 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.005935/0.1015, allocations: 3.728 MB / 379.5 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.195/0.2965, allocations: 1.006 MB / 380.5 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005735/0.2971, allocations: 20.06 kB / 380.6 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004263/0.2976, allocations: 147.4 kB / 380.7 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009776/0.2986, allocations: 273.7 kB / 381 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.299, allocations: 138.5 kB / 381.1 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001562/0.3005, allocations: 1.41 MB / 382.5 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001614/0.3022, allocations: 1.117 MB / 383.6 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009468/0.3031, allocations: 0.6244 MB / 384.3 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.3042, allocations: 0.7564 MB / 385 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000244/0.3045, allocations: 155.9 kB / 385.2 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003352/0.3048, allocations: 154.9 kB / 385.3 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005028/0.3053, allocations: 460.2 kB / 385.8 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008481/0.3062, allocations: 0.7291 MB / 386.5 MB, free: 8.215 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002313/0.3085, allocations: 2.032 MB / 388.5 MB, free: 7.531 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3085, allocations: 0 / 388.5 MB, free: 7.531 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3085, allocations: 1.188 kB / 388.5 MB, free: 7.531 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.1e-05/0.3086, allocations: 4 kB / 388.5 MB, free: 7.527 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.003273/0.3118, allocations: 1.652 MB / 390.2 MB, free: 6.527 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.3119, allocations: 13.42 kB / 390.2 MB, free: 6.523 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002719/0.3122, allocations: 142.3 kB / 390.3 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.3135, allocations: 0.816 MB / 391.1 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.707e-05/0.3136, allocations: 79.94 kB / 391.2 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.3137, allocations: 116.3 kB / 391.3 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00305/0.3168, allocations: 1.545 MB / 392.9 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/0.3168, allocations: 3.938 kB / 392.9 MB, free: 5.254 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.317, allocations: 46.56 kB / 392.9 MB, free: 5.219 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.379e-05/0.317, allocations: 28.47 kB / 393 MB, free: 5.219 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002441/0.3194, allocations: 1.3 MB / 394.3 MB, free: 4.777 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00687/0.3263, allocations: 4.168 MB / 398.4 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.3274, allocations: 1.306 MB / 399.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007455/0.3282, allocations: 459.5 kB / 400.2 MB, free: 1.223 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.3282, allocations: 8.938 kB / 400.2 MB, free: 1.219 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.3283, allocations: 38.69 kB / 400.2 MB, free: 1.176 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.444e-06/0.3283, allocations: 0 / 400.2 MB, free: 1.176 MB / 318.1 MB Notification: Performance of matching and sorting (n=51): time 0.003511/0.3318, allocations: 1.943 MB / 402.2 MB, free: 15.97 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.3318, allocations: 57.06 kB / 402.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.3331, allocations: 0.8135 MB / 403 MB, free: 15.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.352e-05/0.3332, allocations: 35.95 kB / 403.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000389/0.3336, allocations: 0.5383 MB / 403.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.3338, allocations: 175.8 kB / 403.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/0.334, allocations: 102.6 kB / 403.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002266/0.3343, allocations: 392.1 kB / 404.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005221/0.3348, allocations: 298.8 kB / 404.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006225/0.3354, allocations: 409.3 kB / 405 MB, free: 13.94 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.3366, allocations: 0.7009 MB / 405.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.3366, allocations: 1.438 kB / 405.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001764/0.3384, allocations: 0.9175 MB / 406.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.3385, allocations: 5.469 kB / 406.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.3385, allocations: 3.375 kB / 406.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003662/0.3388, allocations: 108.5 kB / 406.7 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006102/0.3395, allocations: 132.5 kB / 406.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002861/0.3423, allocations: 2.371 MB / 409.2 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005801/0.3429, allocations: 23.77 kB / 409.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-05/0.343, allocations: 27.14 kB / 409.2 MB, free: 10.8 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.0008681/0.3439, allocations: 465.2 kB / 409.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.344, allocations: 78.22 kB / 409.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002025/0.3442, allocations: 89.2 kB / 409.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.3443, allocations: 5.094 kB / 409.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.598e-05/0.3443, allocations: 0 / 409.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.3443, allocations: 3.984 kB / 409.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003753/0.3481, allocations: 2.014 MB / 411.9 MB, free: 9.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.3481, allocations: 1.375 kB / 411.9 MB, free: 9.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004382/0.3485, allocations: 87.27 kB / 412 MB, free: 9.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002496/0.3488, allocations: 109.1 kB / 412.1 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.914e-05/0.3488, allocations: 17.5 kB / 412.1 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002483/0.3513, allocations: 2.319 MB / 414.4 MB, free: 6.934 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/0.3514, allocations: 5.609 kB / 414.4 MB, free: 6.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002081/0.3534, allocations: 1.195 MB / 415.6 MB, free: 5.785 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003259/0.3538, allocations: 168.3 kB / 415.8 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.3539, allocations: 19.98 kB / 415.8 MB, free: 5.582 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005356/0.3545, allocations: 43.95 kB / 415.8 MB, free: 5.539 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.3546, allocations: 40.33 kB / 415.9 MB, free: 5.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.944e-05/0.3547, allocations: 23.98 kB / 415.9 MB, free: 5.477 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009496/0.3556, allocations: 0.5849 MB / 416.5 MB, free: 4.895 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.144e-06/0.3556, allocations: 0 / 416.5 MB, free: 4.895 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001089/0.3567, allocations: 215.9 kB / 416.7 MB, free: 4.684 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.0002171/0.3569, allocations: 113.8 kB / 416.8 MB, free: 4.562 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001681/0.3586, allocations: 0.8209 MB / 417.6 MB, free: 3.727 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.3587, allocations: 0 / 417.6 MB, free: 3.727 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008795/0.3595, allocations: 0.4903 MB / 418.1 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.001137/0.3607, allocations: 172.3 kB / 418.3 MB, free: 3.062 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004237/0.3649, allocations: 2.199 MB / 420.5 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001187/0.3661, allocations: 1.309 MB / 421.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002428/0.3664, allocations: 55.42 kB / 421.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of SimCode: time 1.372e-06/0.3664, allocations: 0 / 421.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of Templates: time 0.02523/0.3916, allocations: 18.87 MB / 440.7 MB, free: 12.53 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/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