Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.001173/0.001173, allocations: 109.4 kB / 18.34 MB, free: 4.699 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.001044/0.001044, allocations: 192.1 kB / 19.28 MB, free: 3.766 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.443/1.443, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001192/0.001192, allocations: 47.94 kB / 282.1 MB, free: 2.445 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08786/0.08906, allocations: 46.63 MB / 328.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007035/0.09613, allocations: 5.855 MB / 334.6 MB, free: 13.85 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004289/0.1005, allocations: 2.123 MB / 336.7 MB, free: 11.72 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005404/0.1011, allocations: 31.88 kB / 336.7 MB, free: 11.69 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.1022, allocations: 385.4 kB / 337.1 MB, free: 11.31 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001338/0.1035, allocations: 0.5553 MB / 337.7 MB, free: 10.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004658/0.104, allocations: 235.7 kB / 337.9 MB, free: 10.52 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002027/0.106, allocations: 2.276 MB / 340.2 MB, free: 8.234 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002129/0.1082, allocations: 1.902 MB / 342.1 MB, free: 6.293 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002715/0.1109, allocations: 1.042 MB / 343.1 MB, free: 5.258 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002194/0.1131, allocations: 1.21 MB / 344.3 MB, free: 4.043 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004169/0.1135, allocations: 288 kB / 344.6 MB, free: 3.762 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006496/0.1142, allocations: 375.8 kB / 345 MB, free: 3.395 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006449/0.1148, allocations: 0.709 MB / 345.7 MB, free: 2.684 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001524/0.1164, allocations: 1.221 MB / 346.9 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003545/0.1199, allocations: 3.774 MB / 350.7 MB, free: 13.67 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1199, allocations: 0 / 350.7 MB, free: 13.67 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.12, allocations: 0 / 350.7 MB, free: 13.67 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.12e-05/0.12, allocations: 0 / 350.7 MB, free: 13.67 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.004336/0.1244, allocations: 2.377 MB / 353.1 MB, free: 11.24 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.1244, allocations: 11.89 kB / 353.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006643/0.1251, allocations: 250.3 kB / 353.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002102/0.1272, allocations: 1.244 MB / 354.6 MB, free: 9.691 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.927e-05/0.1273, allocations: 135.5 kB / 354.7 MB, free: 9.559 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002468/0.1276, allocations: 172 kB / 354.9 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003779/0.1314, allocations: 2.543 MB / 357.4 MB, free: 6.824 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/0.1314, allocations: 0 / 357.4 MB, free: 6.824 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001584/0.1316, allocations: 72 kB / 357.5 MB, free: 6.754 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/0.1317, allocations: 103.5 kB / 357.6 MB, free: 6.652 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003175/0.1349, allocations: 2.106 MB / 359.7 MB, free: 4.543 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01001/0.1449, allocations: 7.367 MB / 367 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/0.1463, allocations: 1.259 MB / 368.3 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006903/0.147, allocations: 474.9 kB / 368.8 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002227/0.1472, allocations: 117.5 kB / 368.9 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.1473, allocations: 35 kB / 368.9 MB, free: 10.89 MB / 318.1 MB Notification: Performance of pre-optimization done (n=52): time 1.873e-06/0.1473, allocations: 4 kB / 368.9 MB, free: 10.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.003633/0.1509, allocations: 2.261 MB / 371.2 MB, free: 8.543 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/0.151, allocations: 89.48 kB / 371.3 MB, free: 8.438 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/0.1529, allocations: 1.512 MB / 372.8 MB, free: 6.918 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.214e-05/0.1529, allocations: 33.7 kB / 372.8 MB, free: 6.879 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006549/0.1536, allocations: 0.9674 MB / 373.8 MB, free: 5.898 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.1537, allocations: 205.2 kB / 374 MB, free: 5.695 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003092/0.1541, allocations: 242.6 kB / 374.2 MB, free: 5.449 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1542, allocations: 361.9 kB / 374.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006676/0.1549, allocations: 454.3 kB / 375 MB, free: 4.648 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.156, allocations: 1.087 MB / 376.1 MB, free: 3.242 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001846/0.1579, allocations: 1.623 MB / 377.7 MB, free: 1.309 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.1579, allocations: 4 kB / 377.7 MB, free: 1.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.1723/0.3302, allocations: 1.681 MB / 379.4 MB, free: 50.17 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/0.3303, allocations: 14.55 kB / 379.4 MB, free: 50.17 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.272e-05/0.3303, allocations: 25.09 kB / 379.4 MB, free: 50.17 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007736/0.3311, allocations: 175.8 kB / 379.6 MB, free: 50.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009488/0.3321, allocations: 288.8 kB / 379.9 MB, free: 50.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/0.3342, allocations: 2.364 MB / 382.3 MB, free: 48.69 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/0.3354, allocations: 81 kB / 382.3 MB, free: 48.69 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.466e-05/0.3355, allocations: 66.31 kB / 382.4 MB, free: 48.69 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.0009513/0.3364, allocations: 0.7037 MB / 383.1 MB, free: 48.53 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/0.3366, allocations: 142.2 kB / 383.3 MB, free: 48.53 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.338, allocations: 0.8361 MB / 384.1 MB, free: 48.2 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.338, allocations: 4.875 kB / 384.1 MB, free: 48.2 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.338, allocations: 1.531 kB / 384.1 MB, free: 48.2 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.338, allocations: 9.516 kB / 384.1 MB, free: 48.2 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00396/0.342, allocations: 2.49 MB / 386.6 MB, free: 47.08 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.342, allocations: 6.344 kB / 386.6 MB, free: 47.08 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003797/0.3424, allocations: 95.61 kB / 386.7 MB, free: 47.08 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006404/0.343, allocations: 152.9 kB / 386.8 MB, free: 47.05 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-05/0.3431, allocations: 15.95 kB / 386.9 MB, free: 47.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/0.345, allocations: 2.309 MB / 389.2 MB, free: 45.16 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.345, allocations: 3.469 kB / 389.2 MB, free: 45.16 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.3468, allocations: 1.315 MB / 390.5 MB, free: 44.57 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004799/0.3473, allocations: 281.4 kB / 390.8 MB, free: 44.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/0.3475, allocations: 23.81 kB / 390.8 MB, free: 44.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005692/0.3481, allocations: 49.95 kB / 390.8 MB, free: 44.4 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.3482, allocations: 44.75 kB / 390.9 MB, free: 44.4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.136e-05/0.3483, allocations: 18.58 kB / 390.9 MB, free: 44.39 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001416/0.3497, allocations: 1.044 MB / 391.9 MB, free: 43.98 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3497, allocations: 0 / 391.9 MB, free: 43.98 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001291/0.351, allocations: 346.6 kB / 392.3 MB, free: 43.95 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.0003779/0.3514, allocations: 186.5 kB / 392.5 MB, free: 43.84 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00154/0.3529, allocations: 1.162 MB / 393.6 MB, free: 43.37 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3529, allocations: 1.094 kB / 393.6 MB, free: 43.37 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006774/0.3536, allocations: 0.5083 MB / 394.1 MB, free: 43.12 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.3549, allocations: 376.8 kB / 394.5 MB, free: 42.99 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004163/0.3591, allocations: 3.188 MB / 397.7 MB, free: 41.44 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009313/0.3601, allocations: 1.705 MB / 399.4 MB, free: 40.5 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007146/0.3608, allocations: 328 kB / 399.7 MB, free: 40.44 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.361, allocations: 87.78 kB / 399.8 MB, free: 40.43 MB / 318.1 MB Notification: Performance of SimCode: time 4.01e-07/0.361, allocations: 0 / 399.8 MB, free: 40.43 MB / 318.1 MB Notification: Performance of Templates: time 0.02411/0.3851, allocations: 18.55 MB / 418.4 MB, free: 23.41 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches