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.001459/0.001459, allocations: 111.5 kB / 17.69 MB, free: 5.438 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.001623/0.001623, allocations: 192 kB / 18.63 MB, free: 4.508 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.324/1.324, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 47.61 kB / 302.1 MB, free: 5.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09455/0.09566, allocations: 49.45 MB / 351.5 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.006905/0.1026, allocations: 5.894 MB / 357.4 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003583/0.1062, allocations: 2.072 MB / 359.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004027/0.1067, allocations: 39.88 kB / 359.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008088/0.1075, allocations: 389.4 kB / 359.9 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001084/0.1086, allocations: 0.5515 MB / 360.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.109, allocations: 215.7 kB / 360.7 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001782/0.1108, allocations: 2.217 MB / 362.9 MB, free: 8.266 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00217/0.1129, allocations: 2.228 MB / 365.1 MB, free: 5.973 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001705/0.1147, allocations: 1.05 MB / 366.2 MB, free: 4.934 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001365/0.116, allocations: 1.21 MB / 367.4 MB, free: 3.719 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002951/0.1163, allocations: 288 kB / 367.6 MB, free: 3.438 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005613/0.1169, allocations: 371.8 kB / 368 MB, free: 3.074 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005431/0.1175, allocations: 0.7129 MB / 368.7 MB, free: 2.359 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.1186, allocations: 1.221 MB / 369.9 MB, free: 1.133 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1652/0.2838, allocations: 3.771 MB / 373.7 MB, free: 16.15 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.415e-06/0.2839, allocations: 0.75 kB / 373.7 MB, free: 16.15 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2839, allocations: 0 / 373.7 MB, free: 16.15 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001128/0.284, allocations: 0.5 kB / 373.7 MB, free: 16.15 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.005402/0.2895, allocations: 2.384 MB / 376.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.2895, allocations: 14.39 kB / 376.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.2905, allocations: 247.9 kB / 376.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002928/0.2935, allocations: 1.348 MB / 377.7 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.2936, allocations: 130.8 kB / 377.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000345/0.294, allocations: 184.1 kB / 378 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004719/0.2987, allocations: 2.548 MB / 380.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.774e-05/0.2988, allocations: 0 / 380.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001874/0.299, allocations: 72.28 kB / 380.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001095/0.2991, allocations: 94.09 kB / 380.7 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003158/0.3023, allocations: 2.11 MB / 382.8 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01047/0.3127, allocations: 7.359 MB / 390.2 MB, free: 8.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/0.314, allocations: 1.263 MB / 391.5 MB, free: 7.641 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005699/0.3146, allocations: 472.6 kB / 391.9 MB, free: 7.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002047/0.3148, allocations: 122.6 kB / 392 MB, free: 7.301 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.3148, allocations: 40 kB / 392.1 MB, free: 7.258 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 2.265e-06/0.3148, allocations: 0 / 392.1 MB, free: 7.258 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.003999/0.3188, allocations: 2.257 MB / 394.3 MB, free: 5.816 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.3189, allocations: 87.08 kB / 394.4 MB, free: 5.719 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002089/0.321, allocations: 1.509 MB / 395.9 MB, free: 4.895 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.764e-05/0.3211, allocations: 33.33 kB / 396 MB, free: 4.859 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000663/0.3218, allocations: 0.9692 MB / 396.9 MB, free: 4.008 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.3219, allocations: 196 kB / 397.1 MB, free: 3.848 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004023/0.3223, allocations: 237.9 kB / 397.4 MB, free: 3.703 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.722e-05/0.3224, allocations: 360.2 kB / 397.7 MB, free: 3.359 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009213/0.3234, allocations: 458.5 kB / 398.2 MB, free: 3.133 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.3246, allocations: 1.095 MB / 399.2 MB, free: 2.008 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002158/0.3268, allocations: 1.617 MB / 400.9 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/0.3268, allocations: 7.719 kB / 400.9 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002565/0.3294, allocations: 1.685 MB / 402.6 MB, free: 15.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.3294, allocations: 15.66 kB / 402.6 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-05/0.3295, allocations: 21.31 kB / 402.6 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007182/0.3302, allocations: 183.7 kB / 402.8 MB, free: 15.83 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008599/0.3311, allocations: 285.7 kB / 403.1 MB, free: 15.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/0.3332, allocations: 2.36 MB / 405.4 MB, free: 13.13 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.3344, allocations: 86.61 kB / 405.5 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.13e-05/0.3345, allocations: 67.98 kB / 405.6 MB, free: 12.98 MB / 318.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 (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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001053/0.3356, allocations: 0.7106 MB / 406.3 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000237/0.3358, allocations: 130.4 kB / 406.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001357/0.3372, allocations: 0.8386 MB / 407.2 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-06/0.3372, allocations: 11 kB / 407.2 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3372, allocations: 0 / 407.2 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3372, allocations: 7.984 kB / 407.3 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003844/0.3411, allocations: 2.488 MB / 409.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.3411, allocations: 4.344 kB / 409.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00038/0.3415, allocations: 98.75 kB / 409.8 MB, free: 8.648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000607/0.3421, allocations: 151.4 kB / 410 MB, free: 8.5 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.059e-05/0.3422, allocations: 15.98 kB / 410 MB, free: 8.484 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002059/0.3442, allocations: 2.306 MB / 412.3 MB, free: 6.066 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.3443, allocations: 17.39 kB / 412.3 MB, free: 6.055 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002249/0.3465, allocations: 1.314 MB / 413.6 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000774/0.3473, allocations: 279.5 kB / 413.9 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/0.3475, allocations: 15.98 kB / 413.9 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006544/0.3481, allocations: 43.97 kB / 414 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.3483, allocations: 50.72 kB / 414 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.585e-05/0.3483, allocations: 20 kB / 414 MB, free: 4.281 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001628/0.35, allocations: 1.04 MB / 415.1 MB, free: 3.238 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.35, allocations: 0 / 415.1 MB, free: 3.238 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001779/0.3518, allocations: 348 kB / 415.4 MB, free: 2.898 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 (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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004978/0.3523, allocations: 187.9 kB / 415.6 MB, free: 2.723 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00209/0.3544, allocations: 1.163 MB / 416.8 MB, free: 1.613 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.3544, allocations: 0 / 416.8 MB, free: 1.613 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009598/0.3554, allocations: 0.5142 MB / 417.3 MB, free: 1.102 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/0.3572, allocations: 377.1 kB / 417.7 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00621/0.3634, allocations: 3.186 MB / 420.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/0.365, allocations: 1.707 MB / 422.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0009718/0.3659, allocations: 323.2 kB / 422.9 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/0.3662, allocations: 87.44 kB / 422.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of SimCode: time 1.743e-06/0.3662, allocations: 4 kB / 423 MB, free: 11.36 MB / 334.1 MB Notification: Performance of Templates: time 0.03411/0.4003, allocations: 18.55 MB / 441.5 MB, free: 9.105 MB / 350.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/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