Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008269/0.000827, allocations: 88.72 kB / 16.31 MB, free: 5.684 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.0008968/0.0008969, allocations: 179.8 kB / 17.21 MB, free: 5.602 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.407/1.407, allocations: 223.3 MB / 241.2 MB, free: 14.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002757/0.0002758, allocations: 4 kB / 300.8 MB, free: 6.234 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09526/0.09555, allocations: 50.41 MB / 351.2 MB, free: 3.801 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.005817/0.1014, allocations: 5.142 MB / 356.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003636/0.1051, allocations: 1.956 MB / 358.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008353/0.1059, allocations: 35.81 kB / 358.4 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009731/0.1069, allocations: 302.2 kB / 358.7 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.1083, allocations: 493.3 kB / 359.2 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/0.1087, allocations: 127.9 kB / 359.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002138/0.1109, allocations: 2.28 MB / 361.6 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001565/0.1124, allocations: 1.409 MB / 363 MB, free: 7.988 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.1135, allocations: 0.7628 MB / 363.7 MB, free: 7.223 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.1147, allocations: 0.9688 MB / 364.7 MB, free: 6.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001732/0.1149, allocations: 120 kB / 364.8 MB, free: 6.133 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004135/0.1153, allocations: 183.9 kB / 365 MB, free: 5.953 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004459/0.1157, allocations: 0.5139 MB / 365.5 MB, free: 5.438 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003827/0.1161, allocations: 436.7 kB / 365.9 MB, free: 5.004 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002561/0.1187, allocations: 3.093 MB / 369 MB, free: 1.902 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1187, allocations: 0 / 369 MB, free: 1.902 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1187, allocations: 0 / 369 MB, free: 1.902 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.443e-05/0.1188, allocations: 0 / 369 MB, free: 1.902 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.1911/0.3099, allocations: 2.04 MB / 371.1 MB, free: 22.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.31, allocations: 9.156 kB / 371.1 MB, free: 22.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/0.3114, allocations: 248 kB / 371.3 MB, free: 22.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003033/0.3144, allocations: 1.277 MB / 372.6 MB, free: 21.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.3146, allocations: 129.1 kB / 372.7 MB, free: 21.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003148/0.3149, allocations: 172.6 kB / 372.9 MB, free: 21.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004924/0.3198, allocations: 2.539 MB / 375.4 MB, free: 21.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.3199, allocations: 0 / 375.4 MB, free: 21.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/0.32, allocations: 80.58 kB / 375.5 MB, free: 21.1 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001198/0.3202, allocations: 102.5 kB / 375.6 MB, free: 21.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003613/0.3238, allocations: 2.103 MB / 377.7 MB, free: 20.31 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.011/0.3348, allocations: 7.504 MB / 385.2 MB, free: 16.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.3361, allocations: 1.264 MB / 386.5 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006801/0.3368, allocations: 483.1 kB / 387 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002013/0.337, allocations: 116.9 kB / 387.1 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.337, allocations: 45.45 kB / 387.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 2.455e-06/0.337, allocations: 1.281 kB / 387.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.004066/0.3411, allocations: 2.295 MB / 389.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.3412, allocations: 82.8 kB / 389.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/0.3429, allocations: 1.501 MB / 391 MB, free: 12.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.343, allocations: 41.58 kB / 391 MB, free: 12.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004789/0.3434, allocations: 0.9636 MB / 392 MB, free: 11.38 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.3436, allocations: 203.5 kB / 392.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/0.3436, allocations: 24.59 kB / 392.2 MB, free: 11.19 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.3438, allocations: 359.8 kB / 392.6 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006415/0.3444, allocations: 453.8 kB / 393 MB, free: 10.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008609/0.3453, allocations: 1.089 MB / 394.1 MB, free: 9.492 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008857/0.3462, allocations: 0.6816 MB / 394.8 MB, free: 9.121 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/0.3462, allocations: 6.688 kB / 394.8 MB, free: 9.121 MB / 302.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002239/0.3484, allocations: 1.689 MB / 396.5 MB, free: 8.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.3485, allocations: 15.81 kB / 396.5 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/0.3485, allocations: 23.5 kB / 396.5 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006355/0.3491, allocations: 179.7 kB / 396.7 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007547/0.3499, allocations: 291.5 kB / 397 MB, free: 8.066 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/0.3515, allocations: 2.156 MB / 399.1 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008383/0.3524, allocations: 95.53 kB / 399.2 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.066e-05/0.3524, allocations: 67.98 kB / 399.3 MB, free: 5.613 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008313/0.3533, allocations: 0.7079 MB / 400 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/0.3535, allocations: 130.5 kB / 400.1 MB, free: 4.766 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.3546, allocations: 0.8491 MB / 401 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.3546, allocations: 4 kB / 401 MB, free: 3.902 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3546, allocations: 0 / 401 MB, free: 3.902 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.3546, allocations: 3.984 kB / 401 MB, free: 3.898 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002976/0.3576, allocations: 2.505 MB / 403.5 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.3576, allocations: 0 / 403.5 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003206/0.3579, allocations: 107.9 kB / 403.6 MB, free: 1.199 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005316/0.3585, allocations: 149.6 kB / 403.7 MB, free: 1.051 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/0.3585, allocations: 23.98 kB / 403.8 MB, free: 1.027 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/0.3603, allocations: 2.095 MB / 405.9 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.3603, allocations: 4 kB / 405.9 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/0.3621, allocations: 1.332 MB / 407.2 MB, free: 13.4 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004204/0.3626, allocations: 283.4 kB / 407.5 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.3627, allocations: 16 kB / 407.5 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005231/0.3632, allocations: 56.03 kB / 407.5 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.3633, allocations: 51.81 kB / 407.6 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.882e-05/0.3634, allocations: 20 kB / 407.6 MB, free: 12.96 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001388/0.3648, allocations: 1.024 MB / 408.6 MB, free: 11.94 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3648, allocations: 0 / 408.6 MB, free: 11.94 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001333/0.3661, allocations: 347.2 kB / 409 MB, free: 11.6 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].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 (46): * Single equations (assignments): 45 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003739/0.3665, allocations: 156.8 kB / 409.1 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00169/0.3682, allocations: 1.156 MB / 410.3 MB, free: 10.29 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3682, allocations: 0 / 410.3 MB, free: 10.29 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007311/0.369, allocations: 0.5231 MB / 410.8 MB, free: 9.758 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/0.3704, allocations: 362.9 kB / 411.2 MB, free: 9.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004877/0.3753, allocations: 3.781 MB / 414.9 MB, free: 5.566 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001221/0.3765, allocations: 1.702 MB / 416.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008421/0.3773, allocations: 331.2 kB / 417 MB, free: 3.5 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.3776, allocations: 83.44 kB / 417.1 MB, free: 3.418 MB / 318.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3776, allocations: 0 / 417.1 MB, free: 3.418 MB / 318.1 MB Notification: Performance of Templates: time 0.02757/0.4052, allocations: 17.14 MB / 434.2 MB, free: 2.516 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches