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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001279/0.001279, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001438/0.001438, allocations: 214.8 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 230.5 MB / 258.1 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 63.89 kB / 379 MB, free: 2.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2612, allocations: 53.41 MB / 432.4 MB, free: 6.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007765/0.269, allocations: 5.35 MB / 437.7 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004171/0.2732, allocations: 2.033 MB / 439.8 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007009/0.2739, allocations: 51.62 kB / 439.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.275, allocations: 389.4 kB / 440.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001797/0.2768, allocations: 0.5905 MB / 440.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005355/0.2773, allocations: 239.7 kB / 441 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002812/0.2801, allocations: 2.241 MB / 443.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001719/0.2818, allocations: 1.127 MB / 444.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002543/0.2844, allocations: 1.082 MB / 445.5 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002143/0.2865, allocations: 1.21 MB / 446.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005298/0.2871, allocations: 292 kB / 447 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008843/0.2879, allocations: 379.8 kB / 447.3 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007437/0.2887, allocations: 0.7207 MB / 448.1 MB, free: 6.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001624/0.2903, allocations: 0.9999 MB / 449.1 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004695/0.295, allocations: 3.846 MB / 452.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.295, allocations: 0 / 452.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.295, allocations: 0 / 452.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001073/0.2951, allocations: 0 / 452.9 MB, free: 1.898 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.005788/0.3009, allocations: 2.389 MB / 455.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.301, allocations: 11.98 kB / 455.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.302, allocations: 287.5 kB / 455.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002847/0.3049, allocations: 1.319 MB / 456.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/0.305, allocations: 131.9 kB / 457 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003411/0.3053, allocations: 180.1 kB / 457.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005147/0.3105, allocations: 2.78 MB / 460 MB, free: 10.67 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.663e-05/0.3105, allocations: 0 / 460 MB, free: 10.67 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001784/0.3107, allocations: 75.98 kB / 460.1 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001355/0.3108, allocations: 103.6 kB / 460.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003849/0.3147, allocations: 2.13 MB / 462.3 MB, free: 8.363 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01148/0.3262, allocations: 6.371 MB / 468.7 MB, free: 1.758 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.3275, allocations: 0.7033 MB / 469.4 MB, free: 1.051 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007521/0.3282, allocations: 438.6 kB / 469.8 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001818/0.3284, allocations: 40.41 kB / 469.8 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.3284, allocations: 39 kB / 469.9 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.545e-06/0.3284, allocations: 4 kB / 469.9 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.004334/0.3328, allocations: 2.121 MB / 472 MB, free: 14.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/0.3328, allocations: 85.48 kB / 472.1 MB, free: 14.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001951/0.3348, allocations: 1.376 MB / 473.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.655e-05/0.3348, allocations: 33.7 kB / 473.5 MB, free: 12.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007956/0.3356, allocations: 1.033 MB / 474.5 MB, free: 11.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00019/0.3358, allocations: 206.5 kB / 474.7 MB, free: 11.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003614/0.3362, allocations: 254.7 kB / 475 MB, free: 11.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.3364, allocations: 353.9 kB / 475.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000759/0.3371, allocations: 462.3 kB / 475.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/0.3384, allocations: 1.129 MB / 476.9 MB, free: 9.074 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002074/0.3405, allocations: 1.64 MB / 478.5 MB, free: 7.117 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/0.3405, allocations: 8 kB / 478.6 MB, free: 7.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002945/0.3434, allocations: 1.691 MB / 480.2 MB, free: 5.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/0.3435, allocations: 12 kB / 480.3 MB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.41e-05/0.3435, allocations: 24 kB / 480.3 MB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007793/0.3443, allocations: 181.1 kB / 480.5 MB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008792/0.3452, allocations: 291.5 kB / 480.7 MB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002566/0.3477, allocations: 2.219 MB / 483 MB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.3488, allocations: 83.83 kB / 483 MB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.3489, allocations: 71.98 kB / 483.1 MB, free: 2.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (148): * Single equations (assignments): 147 * 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.001113/0.3501, allocations: 0.7157 MB / 483.8 MB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00028/0.3503, allocations: 123.2 kB / 483.9 MB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/0.3519, allocations: 0.8282 MB / 484.8 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.3519, allocations: 8 kB / 484.8 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3519, allocations: 4 kB / 484.8 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.3519, allocations: 3.984 kB / 484.8 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003976/0.3559, allocations: 2.096 MB / 486.9 MB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.198e-06/0.3559, allocations: 7.984 kB / 486.9 MB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003709/0.3562, allocations: 87.89 kB / 487 MB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006161/0.3569, allocations: 149 kB / 487.1 MB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-05/0.3569, allocations: 19.98 kB / 487.1 MB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002368/0.3593, allocations: 2.161 MB / 489.3 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.3593, allocations: 4.031 kB / 489.3 MB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/0.3614, allocations: 1.309 MB / 490.6 MB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006097/0.362, allocations: 195.2 kB / 490.8 MB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.3622, allocations: 15.92 kB / 490.8 MB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005624/0.3627, allocations: 52.03 kB / 490.9 MB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.3628, allocations: 55.84 kB / 490.9 MB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.886e-05/0.3629, allocations: 16 kB / 490.9 MB, free: 10.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001338/0.3642, allocations: 0.9073 MB / 491.9 MB, free: 9.426 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3642, allocations: 3.938 kB / 491.9 MB, free: 9.422 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001407/0.3656, allocations: 347.9 kB / 492.2 MB, free: 9.082 MB / 398.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.0004863/0.3661, allocations: 195.2 kB / 492.4 MB, free: 8.895 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002082/0.3682, allocations: 1.13 MB / 493.5 MB, free: 7.754 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3682, allocations: 192 / 493.5 MB, free: 7.754 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008176/0.369, allocations: 0.4946 MB / 494 MB, free: 7.246 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.3704, allocations: 267.8 kB / 494.3 MB, free: 6.988 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005435/0.3758, allocations: 3.262 MB / 497.5 MB, free: 3.652 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/0.377, allocations: 1.091 MB / 498.6 MB, free: 2.527 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003121/0.3773, allocations: 87.42 kB / 498.7 MB, free: 2.441 MB / 398.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3773, allocations: 4 kB / 498.7 MB, free: 2.438 MB / 398.1 MB Notification: Performance of Templates: time 0.04426/0.4216, allocations: 31.65 MB / 0.5179 GB, free: 2.844 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.995431932155043]