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.001457/0.001457, allocations: 113.2 kB / 17.73 MB, free: 5.32 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.001159/0.001159, allocations: 184.2 kB / 18.66 MB, free: 4.398 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.835/1.835, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001432/0.001432, allocations: 51.92 kB / 328.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.115, allocations: 46.61 MB / 375.1 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.2382/0.3533, allocations: 5.847 MB / 381 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004054/0.3574, allocations: 2.136 MB / 383.1 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008453/0.3584, allocations: 33.81 kB / 383.2 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.3596, allocations: 403.6 kB / 383.6 MB, free: 9.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002234/0.3619, allocations: 0.5688 MB / 384.1 MB, free: 8.996 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007067/0.3626, allocations: 236.8 kB / 384.4 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003328/0.366, allocations: 2.287 MB / 386.6 MB, free: 7.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002517/0.3685, allocations: 1.883 MB / 388.5 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00303/0.3715, allocations: 1.043 MB / 389.6 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002863/0.3744, allocations: 1.218 MB / 390.8 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008724/0.3753, allocations: 288.6 kB / 391.1 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.3767, allocations: 370.7 kB / 391.4 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007603/0.3775, allocations: 0.7041 MB / 392.1 MB, free: 5.539 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00214/0.3797, allocations: 1.23 MB / 393.4 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005543/0.3852, allocations: 3.776 MB / 397.1 MB, free: 3.453 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.3853, allocations: 0 / 397.1 MB, free: 3.453 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3853, allocations: 0 / 397.1 MB, free: 3.453 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001307/0.3854, allocations: 0 / 397.1 MB, free: 3.453 MB / 318.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.005899/0.3913, allocations: 2.372 MB / 399.5 MB, free: 1.898 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.3914, allocations: 17.47 kB / 399.5 MB, free: 1.891 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008149/0.3922, allocations: 250.3 kB / 399.8 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002084/0.3943, allocations: 1.239 MB / 401 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.3944, allocations: 138.7 kB / 401.1 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002723/0.3947, allocations: 170.2 kB / 401.3 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005188/0.3999, allocations: 2.541 MB / 403.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.516e-05/0.4, allocations: 5.406 kB / 403.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001932/0.4002, allocations: 75.88 kB / 403.9 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001373/0.4003, allocations: 98.66 kB / 404 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005604/0.4059, allocations: 2.108 MB / 406.1 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01639/0.4224, allocations: 7.359 MB / 413.5 MB, free: 8.617 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/0.4241, allocations: 1.274 MB / 414.8 MB, free: 7.484 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007314/0.4249, allocations: 479 kB / 415.2 MB, free: 7.016 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002253/0.4251, allocations: 109.5 kB / 415.3 MB, free: 6.891 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.218e-05/0.4251, allocations: 39 kB / 415.4 MB, free: 6.844 MB / 334.1 MB Notification: Performance of pre-optimization done (n=52): time 2.394e-06/0.4252, allocations: 0 / 415.4 MB, free: 6.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.004608/0.4298, allocations: 2.265 MB / 417.7 MB, free: 4.496 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.4299, allocations: 85.55 kB / 417.7 MB, free: 4.395 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/0.4321, allocations: 1.504 MB / 419.2 MB, free: 2.883 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.783e-05/0.4322, allocations: 37.7 kB / 419.3 MB, free: 2.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008275/0.4331, allocations: 0.9789 MB / 420.3 MB, free: 1.848 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.4333, allocations: 201.3 kB / 420.5 MB, free: 1.648 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003365/0.4336, allocations: 238.6 kB / 420.7 MB, free: 1.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.4338, allocations: 357.9 kB / 421 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006825/0.4345, allocations: 462.3 kB / 421.5 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.4358, allocations: 1.09 MB / 422.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002223/0.4381, allocations: 1.623 MB / 424.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.478e-05/0.4381, allocations: 8 kB / 424.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003434/0.4416, allocations: 1.679 MB / 425.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.4416, allocations: 23.94 kB / 425.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.265e-05/0.4417, allocations: 24 kB / 425.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007995/0.4425, allocations: 180.6 kB / 426.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009187/0.4434, allocations: 283.5 kB / 426.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002972/0.4464, allocations: 2.365 MB / 428.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.4479, allocations: 83.67 kB / 428.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.448, allocations: 64 kB / 428.9 MB, free: 8.414 MB / 350.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.001601/0.4496, allocations: 0.7001 MB / 429.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004843/0.4501, allocations: 138.3 kB / 429.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001652/0.4518, allocations: 0.8335 MB / 430.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.096e-06/0.4518, allocations: 8 kB / 430.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4518, allocations: 0 / 430.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.4518, allocations: 4.234 kB / 430.6 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004562/0.4564, allocations: 2.502 MB / 433.1 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.4564, allocations: 7.938 kB / 433.1 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003834/0.4568, allocations: 95.88 kB / 433.2 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006086/0.4575, allocations: 164.9 kB / 433.3 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.879e-05/0.4575, allocations: 16 kB / 433.4 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002598/0.4601, allocations: 2.291 MB / 435.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/0.4601, allocations: 8.062 kB / 435.7 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002434/0.4626, allocations: 1.317 MB / 437 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008076/0.4634, allocations: 287.5 kB / 437.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.4636, allocations: 16.06 kB / 437.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006278/0.4642, allocations: 43.97 kB / 437.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.4644, allocations: 51.88 kB / 437.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.812e-05/0.4644, allocations: 19.98 kB / 437.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001831/0.4663, allocations: 1.032 MB / 438.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4663, allocations: 0 / 438.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001604/0.4679, allocations: 360 kB / 438.8 MB, free: 14.2 MB / 366.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.0006383/0.4685, allocations: 188 kB / 438.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00213/0.4707, allocations: 1.152 MB / 440.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.4707, allocations: 0 / 440.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008948/0.4716, allocations: 0.5121 MB / 440.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/0.4735, allocations: 368.1 kB / 441 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007341/0.4809, allocations: 3.18 MB / 444.1 MB, free: 8.727 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00208/0.483, allocations: 1.702 MB / 445.9 MB, free: 6.992 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00161/0.4847, allocations: 327.2 kB / 446.2 MB, free: 6.668 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003356/0.485, allocations: 91.42 kB / 446.3 MB, free: 6.578 MB / 366.1 MB Notification: Performance of SimCode: time 3.947e-06/0.4851, allocations: 0 / 446.3 MB, free: 6.578 MB / 366.1 MB Notification: Performance of Templates: time 0.04586/0.5309, allocations: 18.98 MB / 465.2 MB, free: 3.562 MB / 382.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins/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