Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001799/0.001808, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00202/0.00202, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.542/1.542, allocations: 227.4 MB / 247.5 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 62.2 kB / 307.7 MB, free: 0.6016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1071, allocations: 50.54 MB / 358.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007866/0.115, allocations: 5.922 MB / 364.1 MB, free: 8.105 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004189/0.1193, allocations: 2.119 MB / 366.2 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007374/0.12, allocations: 35.88 kB / 366.3 MB, free: 5.945 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.1212, allocations: 393.7 kB / 366.6 MB, free: 5.559 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001609/0.1228, allocations: 0.5515 MB / 367.2 MB, free: 5.004 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004903/0.1233, allocations: 231.7 kB / 367.4 MB, free: 4.777 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002492/0.1258, allocations: 2.214 MB / 369.6 MB, free: 2.555 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002586/0.1284, allocations: 2.22 MB / 371.9 MB, free: 280 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1615/0.2899, allocations: 1.048 MB / 372.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001984/0.2919, allocations: 1.215 MB / 374.1 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005588/0.2925, allocations: 287.1 kB / 374.4 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009422/0.2934, allocations: 373.2 kB / 374.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006233/0.2941, allocations: 0.7048 MB / 375.5 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001475/0.2956, allocations: 1.227 MB / 376.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003975/0.2995, allocations: 3.757 MB / 380.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.2996, allocations: 1.281 kB / 380.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2996, allocations: 0 / 380.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.488e-05/0.2997, allocations: 1.406 kB / 380.5 MB, free: 10.02 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.005168/0.3049, allocations: 2.394 MB / 382.9 MB, free: 8.625 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.3049, allocations: 9.625 kB / 382.9 MB, free: 8.625 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.3059, allocations: 279.9 kB / 383.1 MB, free: 8.516 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002027/0.308, allocations: 1.321 MB / 384.5 MB, free: 7.793 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-05/0.3081, allocations: 135.8 kB / 384.6 MB, free: 7.734 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002906/0.3084, allocations: 176.5 kB / 384.8 MB, free: 7.676 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004109/0.3125, allocations: 2.55 MB / 387.3 MB, free: 6.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.427e-05/0.3125, allocations: 0 / 387.3 MB, free: 6.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001788/0.3127, allocations: 72.25 kB / 387.4 MB, free: 6.625 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/0.3128, allocations: 98.53 kB / 387.5 MB, free: 6.617 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003106/0.316, allocations: 2.107 MB / 389.6 MB, free: 5.512 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009412/0.3254, allocations: 7.442 MB / 397 MB, free: 192 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.3269, allocations: 1.28 MB / 398.3 MB, free: 15.13 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000641/0.3275, allocations: 469.9 kB / 398.8 MB, free: 14.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002198/0.3277, allocations: 123.3 kB / 398.9 MB, free: 14.79 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.3278, allocations: 41.47 kB / 398.9 MB, free: 14.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=52): time 2.154e-06/0.3278, allocations: 0 / 398.9 MB, free: 14.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.004073/0.3319, allocations: 2.26 MB / 401.2 MB, free: 13.31 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.844e-05/0.332, allocations: 89.09 kB / 401.3 MB, free: 13.21 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001972/0.3339, allocations: 1.51 MB / 402.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.255e-05/0.334, allocations: 36.77 kB / 402.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007718/0.3348, allocations: 0.9774 MB / 403.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.335, allocations: 200.4 kB / 404 MB, free: 11.33 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003319/0.3353, allocations: 238.3 kB / 404.2 MB, free: 11.19 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.3355, allocations: 359.9 kB / 404.6 MB, free: 10.85 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006784/0.3362, allocations: 460.3 kB / 405 MB, free: 10.61 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/0.3375, allocations: 1.095 MB / 406.1 MB, free: 9.207 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0021/0.3396, allocations: 1.62 MB / 407.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/0.3396, allocations: 8 kB / 407.8 MB, free: 7.363 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002736/0.3423, allocations: 1.678 MB / 409.4 MB, free: 5.805 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.3424, allocations: 22.25 kB / 409.5 MB, free: 5.789 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/0.3424, allocations: 20 kB / 409.5 MB, free: 5.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007296/0.3431, allocations: 182.1 kB / 409.6 MB, free: 5.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008459/0.344, allocations: 280 kB / 409.9 MB, free: 5.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002602/0.3466, allocations: 2.364 MB / 412.3 MB, free: 2.855 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.3478, allocations: 91.58 kB / 412.4 MB, free: 2.766 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.3479, allocations: 64 kB / 412.4 MB, free: 2.703 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.001164/0.3491, allocations: 0.7118 MB / 413.1 MB, free: 2.004 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002478/0.3493, allocations: 126.5 kB / 413.3 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/0.3508, allocations: 0.8425 MB / 414.1 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.3508, allocations: 8.062 kB / 414.1 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3509, allocations: 4 kB / 414.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.3509, allocations: 3.984 kB / 414.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004162/0.355, allocations: 2.498 MB / 416.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.3551, allocations: 4.344 kB / 416.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003738/0.3554, allocations: 101.2 kB / 416.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006472/0.3561, allocations: 151.5 kB / 416.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/0.3561, allocations: 12 kB / 416.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002458/0.3586, allocations: 2.304 MB / 419.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.3586, allocations: 7.375 kB / 419.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002195/0.3608, allocations: 1.315 MB / 420.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006813/0.3615, allocations: 283.4 kB / 420.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001868/0.3617, allocations: 16 kB / 420.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006266/0.3624, allocations: 52.02 kB / 420.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.3625, allocations: 47.2 kB / 420.9 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.494e-05/0.3626, allocations: 20 kB / 420.9 MB, free: 9.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001706/0.3643, allocations: 1.052 MB / 422 MB, free: 8.926 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3643, allocations: 0 / 422 MB, free: 8.926 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00159/0.3659, allocations: 348 kB / 422.3 MB, free: 8.586 MB / 334.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.0004907/0.3664, allocations: 192.8 kB / 422.5 MB, free: 8.406 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002339/0.3687, allocations: 1.249 MB / 423.8 MB, free: 7.219 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.3688, allocations: 4 kB / 423.8 MB, free: 7.215 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008707/0.3696, allocations: 0.5056 MB / 424.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/0.3715, allocations: 367.6 kB / 424.6 MB, free: 6.359 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006002/0.3775, allocations: 3.231 MB / 427.9 MB, free: 3.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001513/0.3791, allocations: 1.666 MB / 429.5 MB, free: 1.375 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003902/0.3795, allocations: 95.42 kB / 429.6 MB, free: 1.281 MB / 334.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3795, allocations: 3.938 kB / 429.6 MB, free: 1.277 MB / 334.1 MB Notification: Performance of Templates: time 0.04328/0.4228, allocations: 32.27 MB / 461.9 MB, free: 1.105 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches