Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.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 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.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001143, allocations: 115 kB / 17.07 MB, free: 6 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.001165/0.001166, allocations: 192 kB / 18 MB, free: 5.082 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.373/1.373, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009542/0.0009543, allocations: 51.92 kB / 351.3 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2858, allocations: 49.43 MB / 400.7 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.004967/0.2909, allocations: 3.772 MB / 404.5 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.2926, allocations: 0.9424 MB / 405.4 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001998/0.2929, allocations: 19.94 kB / 405.5 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003393/0.2932, allocations: 154.8 kB / 405.6 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007101/0.2939, allocations: 286.5 kB / 405.9 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.2942, allocations: 119.8 kB / 406 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001283/0.2955, allocations: 1.397 MB / 407.4 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.2969, allocations: 1.185 MB / 408.6 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000793/0.2977, allocations: 0.6269 MB / 409.2 MB, free: 304 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009214/0.2986, allocations: 0.755 MB / 410 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001886/0.2988, allocations: 159.9 kB / 410.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002076/0.299, allocations: 156 kB / 410.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000369/0.2994, allocations: 458.8 kB / 410.7 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006869/0.3001, allocations: 0.7233 MB / 411.4 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001748/0.3018, allocations: 2.038 MB / 413.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.3019, allocations: 0 / 413.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3019, allocations: 0 / 413.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.049e-05/0.3019, allocations: 0 / 413.5 MB, free: 12.01 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.002848/0.3047, allocations: 1.668 MB / 415.1 MB, free: 10.29 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.3048, allocations: 8.031 kB / 415.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002242/0.305, allocations: 143.2 kB / 415.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.3063, allocations: 0.8617 MB / 416.2 MB, free: 9.238 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.08e-05/0.3063, allocations: 86.34 kB / 416.2 MB, free: 9.152 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.3065, allocations: 108 kB / 416.3 MB, free: 9.047 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002234/0.3088, allocations: 1.548 MB / 417.9 MB, free: 7.453 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.3088, allocations: 4 kB / 417.9 MB, free: 7.449 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.3089, allocations: 44 kB / 417.9 MB, free: 7.406 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.216e-05/0.3089, allocations: 28 kB / 418 MB, free: 7.379 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/0.3109, allocations: 1.312 MB / 419.3 MB, free: 6.059 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005789/0.3167, allocations: 4.173 MB / 423.5 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.3179, allocations: 1.323 MB / 424.8 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000669/0.3185, allocations: 467.3 kB / 425.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.801e-05/0.3186, allocations: 8.422 kB / 425.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.3186, allocations: 39 kB / 425.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 2.194e-06/0.3186, allocations: 0 / 425.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.003111/0.3217, allocations: 1.942 MB / 427.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.3218, allocations: 59.78 kB / 427.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009808/0.3228, allocations: 0.8126 MB / 428.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.3228, allocations: 41.7 kB / 428.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/0.3232, allocations: 0.5414 MB / 428.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.3233, allocations: 169.5 kB / 428.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.3235, allocations: 106.2 kB / 428.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.3237, allocations: 386.8 kB / 429.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000513/0.3242, allocations: 304.8 kB / 429.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004803/0.3247, allocations: 403.4 kB / 430 MB, free: 10.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009241/0.3256, allocations: 0.7067 MB / 430.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3256, allocations: 0 / 430.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001293/0.3269, allocations: 0.9088 MB / 431.6 MB, free: 9.195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.3269, allocations: 8 kB / 431.6 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.327, allocations: 0 / 431.6 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002626/0.3272, allocations: 112.7 kB / 431.8 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004866/0.3277, allocations: 119.9 kB / 431.9 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/0.3299, allocations: 2.368 MB / 434.2 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003551/0.3303, allocations: 31.91 kB / 434.3 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.773e-05/0.3303, allocations: 19.94 kB / 434.3 MB, free: 6.395 MB / 350.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.0006083/0.3309, allocations: 461.4 kB / 434.7 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.3311, allocations: 71.16 kB / 434.8 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/0.3312, allocations: 95.08 kB / 434.9 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3312, allocations: 4.062 kB / 434.9 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.3312, allocations: 4 kB / 434.9 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.3312, allocations: 7.922 kB / 434.9 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002922/0.3342, allocations: 2.013 MB / 436.9 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3342, allocations: 0 / 436.9 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003356/0.3345, allocations: 92.03 kB / 437 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002281/0.3348, allocations: 108.8 kB / 437.1 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.36e-05/0.3348, allocations: 12 kB / 437.1 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/0.3369, allocations: 2.325 MB / 439.5 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3369, allocations: 4.031 kB / 439.5 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.3386, allocations: 1.204 MB / 440.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002039/0.3388, allocations: 156.2 kB / 440.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.958e-05/0.3389, allocations: 19.98 kB / 440.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003904/0.3393, allocations: 44.02 kB / 440.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.3394, allocations: 48.27 kB / 440.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/0.3395, allocations: 19.98 kB / 441 MB, free: 15.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008081/0.3403, allocations: 0.581 MB / 441.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3403, allocations: 0 / 441.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008005/0.3411, allocations: 212 kB / 441.7 MB, free: 14.66 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.0001756/0.3413, allocations: 119.1 kB / 441.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001473/0.3428, allocations: 0.8163 MB / 442.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3428, allocations: 0 / 442.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006695/0.3435, allocations: 497.7 kB / 443.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007884/0.3443, allocations: 182.9 kB / 443.3 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003575/0.3478, allocations: 2.179 MB / 445.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009047/0.3488, allocations: 1.336 MB / 446.9 MB, free: 9.438 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004175/0.3492, allocations: 185.8 kB / 447 MB, free: 9.254 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.3493, allocations: 55.42 kB / 447.1 MB, free: 9.199 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3493, allocations: 0 / 447.1 MB, free: 9.199 MB / 366.1 MB Notification: Performance of Templates: time 0.01897/0.3683, allocations: 10.62 MB / 457.7 MB, free: 14.7 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches