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.001757/0.001757, allocations: 110.5 kB / 17.73 MB, free: 5.316 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.001773/0.001773, allocations: 187 kB / 18.67 MB, free: 4.387 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.894/1.894, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.002045/0.002044, allocations: 47.94 kB / 328.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1393, allocations: 46.62 MB / 375.1 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.2832/0.4225, allocations: 5.835 MB / 381 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005152/0.4277, allocations: 2.144 MB / 383.1 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001307/0.4291, allocations: 37.81 kB / 383.2 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001576/0.4307, allocations: 392.2 kB / 383.5 MB, free: 9.254 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002794/0.4336, allocations: 0.5473 MB / 384.1 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008508/0.4344, allocations: 226.7 kB / 384.3 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00346/0.4379, allocations: 2.293 MB / 386.6 MB, free: 7.852 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002533/0.4405, allocations: 1.893 MB / 388.5 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003507/0.444, allocations: 1.037 MB / 389.5 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004041/0.4481, allocations: 1.212 MB / 390.7 MB, free: 5.992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00104/0.4492, allocations: 286.7 kB / 391 MB, free: 5.992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.4508, allocations: 364.2 kB / 391.4 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001103/0.4519, allocations: 0.7092 MB / 392.1 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003331/0.4552, allocations: 1.232 MB / 393.3 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00646/0.4617, allocations: 3.786 MB / 397.1 MB, free: 3.457 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.4618, allocations: 1.438 kB / 397.1 MB, free: 3.457 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4618, allocations: 1.875 kB / 397.1 MB, free: 3.457 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001511/0.4619, allocations: 0.7969 kB / 397.1 MB, free: 3.457 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.007126/0.4691, allocations: 2.421 MB / 399.5 MB, free: 1.852 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.4691, allocations: 13.33 kB / 399.5 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.4702, allocations: 263.7 kB / 399.8 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002558/0.4728, allocations: 1.245 MB / 401.1 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.4729, allocations: 133.9 kB / 401.2 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003385/0.4732, allocations: 174.5 kB / 401.4 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006007/0.4792, allocations: 2.561 MB / 403.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.493e-05/0.4794, allocations: 0 / 403.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002264/0.4796, allocations: 67.38 kB / 404 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001281/0.4797, allocations: 99.39 kB / 404.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00492/0.4847, allocations: 2.103 MB / 406.2 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01623/0.5009, allocations: 7.391 MB / 413.6 MB, free: 8.527 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.5027, allocations: 1.266 MB / 414.8 MB, free: 7.398 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007954/0.5036, allocations: 482.9 kB / 415.3 MB, free: 6.926 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002446/0.5038, allocations: 117.5 kB / 415.4 MB, free: 6.793 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.5039, allocations: 39 kB / 415.5 MB, free: 6.746 MB / 334.1 MB Notification: Performance of pre-optimization done (n=52): time 4.177e-06/0.5039, allocations: 0 / 415.5 MB, free: 6.746 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.005237/0.5091, allocations: 2.283 MB / 417.7 MB, free: 4.383 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.159e-05/0.5093, allocations: 90.2 kB / 417.8 MB, free: 4.277 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002678/0.5119, allocations: 1.512 MB / 419.3 MB, free: 2.758 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001435/0.5121, allocations: 37.7 kB / 419.4 MB, free: 2.715 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001001/0.5131, allocations: 1.002 MB / 420.4 MB, free: 1.703 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002566/0.5134, allocations: 206.4 kB / 420.6 MB, free: 1.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004323/0.5138, allocations: 238.8 kB / 420.8 MB, free: 1.262 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002468/0.5141, allocations: 353.9 kB / 421.2 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008713/0.515, allocations: 462.2 kB / 421.6 MB, free: 468 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/0.5164, allocations: 1.094 MB / 422.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00225/0.5187, allocations: 1.619 MB / 424.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.689e-05/0.5187, allocations: 8 kB / 424.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003343/0.5221, allocations: 1.691 MB / 426 MB, free: 11.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.797e-05/0.5222, allocations: 19.91 kB / 426 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.51e-05/0.5222, allocations: 24 kB / 426.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008392/0.5231, allocations: 181.1 kB / 426.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009656/0.524, allocations: 287.5 kB / 426.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002525/0.5266, allocations: 2.361 MB / 428.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.5281, allocations: 83.86 kB / 429 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/0.5283, allocations: 67.94 kB / 429 MB, free: 8.258 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.001418/0.5297, allocations: 0.7118 MB / 429.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003818/0.5301, allocations: 139.1 kB / 429.9 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/0.5317, allocations: 0.8373 MB / 430.7 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.5318, allocations: 8 kB / 430.7 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.5318, allocations: 4 kB / 430.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.5318, allocations: 7.922 kB / 430.7 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004687/0.5365, allocations: 2.49 MB / 433.2 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.5365, allocations: 4.344 kB / 433.2 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003876/0.5369, allocations: 96.06 kB / 433.3 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006594/0.5376, allocations: 156.6 kB / 433.5 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.397e-05/0.5377, allocations: 12 kB / 433.5 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002713/0.5404, allocations: 2.307 MB / 435.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/0.5404, allocations: 7.938 kB / 435.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002846/0.5433, allocations: 1.33 MB / 437.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008291/0.5441, allocations: 288.1 kB / 437.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002167/0.5444, allocations: 16 kB / 437.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006366/0.545, allocations: 56.02 kB / 437.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.5452, allocations: 47.86 kB / 437.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.507e-05/0.5452, allocations: 20 kB / 437.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001617/0.5468, allocations: 1.036 MB / 438.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5469, allocations: 0 / 438.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00191/0.5488, allocations: 351.9 kB / 438.9 MB, free: 14.02 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.000577/0.5494, allocations: 196.2 kB / 439.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002403/0.5518, allocations: 1.145 MB / 440.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/0.5518, allocations: 0 / 440.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009365/0.5528, allocations: 0.514 MB / 440.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002593/0.5554, allocations: 367.8 kB / 441.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006958/0.5624, allocations: 3.227 MB / 444.4 MB, free: 8.488 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001773/0.5642, allocations: 1.706 MB / 446.1 MB, free: 6.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00112/0.5653, allocations: 315.3 kB / 446.4 MB, free: 6.438 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002846/0.5656, allocations: 95.42 kB / 446.5 MB, free: 6.344 MB / 366.1 MB Notification: Performance of SimCode: time 1.092e-06/0.5656, allocations: 7.938 kB / 446.5 MB, free: 6.336 MB / 366.1 MB Notification: Performance of Templates: time 0.04124/0.6069, allocations: 18.97 MB / 465.5 MB, free: 3.324 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