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.00164/0.00164, allocations: 106.2 kB / 18.25 MB, free: 4.914 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.001897/0.001897, allocations: 199.2 kB / 19.19 MB, free: 3.988 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.318/1.318, allocations: 205.1 MB / 225 MB, free: 12.3 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.002125/0.002125, allocations: 55.92 kB / 281.3 MB, free: 3.168 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1132, allocations: 46.63 MB / 328 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.01068/0.1239, allocations: 5.849 MB / 333.8 MB, free: 14.58 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005426/0.1294, allocations: 2.127 MB / 335.9 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009958/0.1304, allocations: 27.88 kB / 336 MB, free: 12.42 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001826/0.1323, allocations: 381.7 kB / 336.3 MB, free: 12.04 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002487/0.1348, allocations: 0.5554 MB / 336.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007809/0.1356, allocations: 235.7 kB / 337.1 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003607/0.1392, allocations: 2.272 MB / 339.4 MB, free: 8.973 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003607/0.1429, allocations: 1.899 MB / 341.3 MB, free: 7.035 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002742/0.1456, allocations: 1.042 MB / 342.3 MB, free: 6 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002637/0.1483, allocations: 1.203 MB / 343.5 MB, free: 4.793 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008707/0.1492, allocations: 288 kB / 343.8 MB, free: 4.512 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001376/0.1505, allocations: 371.8 kB / 344.2 MB, free: 4.148 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001192/0.1518, allocations: 0.7129 MB / 344.9 MB, free: 3.434 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00256/0.1543, allocations: 1.221 MB / 346.1 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004552/0.1589, allocations: 3.747 MB / 349.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1589, allocations: 4 kB / 349.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1589, allocations: 0 / 349.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.459e-05/0.159, allocations: 0 / 349.9 MB, free: 14.45 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.006415/0.1655, allocations: 2.369 MB / 352.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1655, allocations: 15.89 kB / 352.3 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000775/0.1663, allocations: 250.4 kB / 352.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002101/0.1684, allocations: 1.228 MB / 353.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.1685, allocations: 135.5 kB / 353.9 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002893/0.1688, allocations: 172 kB / 354 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00407/0.1729, allocations: 2.543 MB / 356.6 MB, free: 7.617 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/0.173, allocations: 3.938 kB / 356.6 MB, free: 7.613 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001651/0.1731, allocations: 79.92 kB / 356.6 MB, free: 7.535 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.887e-05/0.1732, allocations: 91.58 kB / 356.7 MB, free: 7.445 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003245/0.1765, allocations: 2.11 MB / 358.8 MB, free: 5.332 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01007/0.1866, allocations: 7.452 MB / 366.3 MB, free: 13.63 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.1881, allocations: 1.271 MB / 367.6 MB, free: 12.22 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006913/0.1888, allocations: 474.9 kB / 368 MB, free: 11.76 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002112/0.189, allocations: 113.5 kB / 368.1 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.189, allocations: 42.94 kB / 368.2 MB, free: 11.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=52): time 2.655e-06/0.189, allocations: 0 / 368.2 MB, free: 11.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.003926/0.193, allocations: 2.265 MB / 370.5 MB, free: 9.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.193, allocations: 85.55 kB / 370.5 MB, free: 9.129 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001878/0.1949, allocations: 1.508 MB / 372 MB, free: 7.613 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.852e-05/0.195, allocations: 37.81 kB / 372.1 MB, free: 7.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000647/0.1956, allocations: 0.9751 MB / 373.1 MB, free: 6.582 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.1958, allocations: 193.4 kB / 373.2 MB, free: 6.391 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003072/0.1961, allocations: 242.5 kB / 373.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1963, allocations: 357.9 kB / 373.8 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006719/0.1969, allocations: 466.3 kB / 374.3 MB, free: 5.336 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/0.1981, allocations: 1.083 MB / 375.4 MB, free: 3.934 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001848/0.1999, allocations: 1.623 MB / 377 MB, free: 2 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.1999, allocations: 8 kB / 377 MB, free: 1.992 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002594/0.2025, allocations: 1.683 MB / 378.7 MB, free: 304 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.2026, allocations: 12 kB / 378.7 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.041e-05/0.2026, allocations: 24 kB / 378.7 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007221/0.2033, allocations: 181.1 kB / 378.9 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1365/0.3398, allocations: 280.2 kB / 379.2 MB, free: 51.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.342, allocations: 2.362 MB / 381.5 MB, free: 49.85 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.3432, allocations: 89.2 kB / 381.6 MB, free: 49.83 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.22e-05/0.3433, allocations: 65.56 kB / 381.7 MB, free: 49.82 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.001047/0.3444, allocations: 0.7023 MB / 382.4 MB, free: 49.46 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/0.3446, allocations: 136.3 kB / 382.5 MB, free: 49.45 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.346, allocations: 0.8398 MB / 383.4 MB, free: 49.12 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.346, allocations: 6.312 kB / 383.4 MB, free: 49.12 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.346, allocations: 3.125 kB / 383.4 MB, free: 49.12 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.351e-06/0.3461, allocations: 2.203 kB / 383.4 MB, free: 49.12 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003539/0.3496, allocations: 2.503 MB / 385.9 MB, free: 47.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.3496, allocations: 3.141 kB / 385.9 MB, free: 47.97 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003823/0.35, allocations: 97.09 kB / 386 MB, free: 47.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006805/0.3507, allocations: 154.5 kB / 386.1 MB, free: 47.93 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/0.3507, allocations: 16.75 kB / 386.1 MB, free: 47.92 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001868/0.3526, allocations: 2.312 MB / 388.4 MB, free: 46.03 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.3526, allocations: 4.031 kB / 388.5 MB, free: 46.03 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/0.3545, allocations: 1.315 MB / 389.8 MB, free: 45.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003849/0.3549, allocations: 283.9 kB / 390 MB, free: 45.29 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.355, allocations: 14.91 kB / 390.1 MB, free: 45.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006197/0.3557, allocations: 48.91 kB / 390.1 MB, free: 45.27 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.3558, allocations: 49.34 kB / 390.2 MB, free: 45.26 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/0.3558, allocations: 23.73 kB / 390.2 MB, free: 45.26 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001323/0.3572, allocations: 1.04 MB / 391.2 MB, free: 44.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3572, allocations: 0 / 391.2 MB, free: 44.84 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001342/0.3585, allocations: 349.4 kB / 391.6 MB, free: 44.82 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.0003693/0.3589, allocations: 194 kB / 391.7 MB, free: 44.71 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001904/0.3608, allocations: 1.237 MB / 393 MB, free: 44.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3608, allocations: 3.25 kB / 393 MB, free: 44.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006557/0.3615, allocations: 0.5118 MB / 393.5 MB, free: 43.98 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.3629, allocations: 373.4 kB / 393.9 MB, free: 43.86 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004273/0.3672, allocations: 3.219 MB / 397.1 MB, free: 42.27 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009281/0.3681, allocations: 1.663 MB / 398.7 MB, free: 41.34 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.3684, allocations: 98.02 kB / 398.8 MB, free: 41.33 MB / 318.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3684, allocations: 0 / 398.8 MB, free: 41.33 MB / 318.1 MB Notification: Performance of Templates: time 0.02833/0.3967, allocations: 32.14 MB / 431 MB, free: 10.98 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 -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