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.001323/0.001323, allocations: 84.34 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001452/0.001452, allocations: 166.8 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.906/0.906, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+..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.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 274.1 MB, free: 4.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.038e-05/2.207e-05, allocations: 5.047 kB / 274.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.00518/0.005203, allocations: 5.785 MB / 279.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002929/0.008131, allocations: 2.111 MB / 282 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003677/0.008499, allocations: 51.62 kB / 282.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006742/0.009173, allocations: 401.4 kB / 282.5 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008929/0.01007, allocations: 0.6055 MB / 283.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.01034, allocations: 239.6 kB / 283.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001361/0.01171, allocations: 2.318 MB / 285.6 MB, free: 8.766 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009739/0.01268, allocations: 1.139 MB / 286.7 MB, free: 7.559 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001503/0.01418, allocations: 1.633 MB / 288.4 MB, free: 5.961 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00153/0.01571, allocations: 1.216 MB / 289.6 MB, free: 4.742 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004252/0.01614, allocations: 284 kB / 289.9 MB, free: 4.465 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005867/0.01672, allocations: 383.8 kB / 290.3 MB, free: 4.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005541/0.01728, allocations: 0.748 MB / 291 MB, free: 3.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006734/0.01795, allocations: 0.8732 MB / 291.9 MB, free: 2.465 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001454/0.01941, allocations: 2.053 MB / 293.9 MB, free: 416 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.01941, allocations: 4 kB / 293.9 MB, free: 412 kB / 266.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.01941, allocations: 0 / 293.9 MB, free: 412 kB / 266.7 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.01943, allocations: 0 / 293.9 MB, free: 412 kB / 266.7 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.002376/0.0218, allocations: 2.502 MB / 296.4 MB, free: 13.85 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.894e-05/0.02183, allocations: 12.03 kB / 296.4 MB, free: 13.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006364/0.02247, allocations: 439.4 kB / 296.9 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.02359, allocations: 1.139 MB / 298 MB, free: 12.23 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.418e-05/0.02365, allocations: 127.9 kB / 298.1 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.02382, allocations: 184.3 kB / 298.3 MB, free: 11.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.02531, allocations: 1.467 MB / 299.8 MB, free: 10.39 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/0.02535, allocations: 3.938 kB / 299.8 MB, free: 10.38 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.02545, allocations: 72 kB / 299.9 MB, free: 10.31 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.522e-05/0.02553, allocations: 107.6 kB / 300 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006623/0.02619, allocations: 481.1 kB / 300.4 MB, free: 9.734 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005429/0.03162, allocations: 5.976 MB / 306.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004474/0.03207, allocations: 366.4 kB / 306.8 MB, free: 3.152 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.03227, allocations: 189.7 kB / 306.9 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.626e-05/0.03237, allocations: 32.48 kB / 307 MB, free: 2.926 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.03239, allocations: 41.89 kB / 307 MB, free: 2.875 MB / 282.7 MB Notification: Performance of pre-optimization done (n=52): time 1.573e-06/0.03239, allocations: 0 / 307 MB, free: 2.875 MB / 282.7 MB Notification: Performance of matching and sorting (n=53): time 0.001322/0.03371, allocations: 1.002 MB / 308 MB, free: 1.832 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.03375, allocations: 81.61 kB / 308.1 MB, free: 1.734 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008412/0.03459, allocations: 1.18 MB / 309.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.03461, allocations: 33.7 kB / 309.3 MB, free: 0.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007293/0.03534, allocations: 1.129 MB / 310.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.03545, allocations: 214.3 kB / 310.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002134/0.03566, allocations: 264.3 kB / 310.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.03581, allocations: 0.5588 MB / 311.5 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.03595, allocations: 102.5 kB / 311.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005841/0.03653, allocations: 1.092 MB / 312.7 MB, free: 12.67 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008127/0.03735, allocations: 1.313 MB / 314 MB, free: 10.92 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.03735, allocations: 4 kB / 314 MB, free: 10.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001037/0.03839, allocations: 1.024 MB / 315 MB, free: 9.887 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.03841, allocations: 16 kB / 315 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.03843, allocations: 24 kB / 315 MB, free: 9.848 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003662/0.03879, allocations: 151.8 kB / 315.2 MB, free: 9.695 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004743/0.03927, allocations: 279.5 kB / 315.5 MB, free: 9.422 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.04073, allocations: 2.327 MB / 317.8 MB, free: 6.988 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003974/0.04113, allocations: 87.78 kB / 317.9 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.361e-05/0.04118, allocations: 64.11 kB / 317.9 MB, free: 6.84 MB / 298.7 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.0002364/0.04142, allocations: 248 kB / 318.2 MB, free: 6.586 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.04156, allocations: 155.1 kB / 318.3 MB, free: 6.434 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004553/0.04202, allocations: 408.8 kB / 318.7 MB, free: 6.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.04202, allocations: 4 kB / 318.7 MB, free: 6.016 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.04202, allocations: 4 kB / 318.7 MB, free: 6.012 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.04203, allocations: 7.984 kB / 318.7 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.04371, allocations: 1.887 MB / 320.6 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.04372, allocations: 4 kB / 320.6 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.04389, allocations: 87.89 kB / 320.7 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003023/0.0442, allocations: 119.5 kB / 320.8 MB, free: 3.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.04422, allocations: 19.94 kB / 320.9 MB, free: 3.801 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/0.04527, allocations: 2.279 MB / 323.1 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.04527, allocations: 0 / 323.1 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.04639, allocations: 0.748 MB / 323.9 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001941/0.04658, allocations: 171.2 kB / 324.1 MB, free: 432 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.439e-05/0.04666, allocations: 15.98 kB / 324.1 MB, free: 416 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/0.04693, allocations: 44.02 kB / 324.1 MB, free: 372 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/0.047, allocations: 51.78 kB / 324.2 MB, free: 320 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.04702, allocations: 19.98 kB / 324.2 MB, free: 300 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004368/0.04746, allocations: 0.5986 MB / 324.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04746, allocations: 0 / 324.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007066/0.04816, allocations: 351.9 kB / 325.1 MB, free: 15.34 MB / 314.7 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.0002841/0.04845, allocations: 191.6 kB / 325.3 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006831/0.04913, allocations: 0.7319 MB / 326 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.04913, allocations: 0 / 326 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002952/0.04943, allocations: 387.4 kB / 326.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006924/0.05012, allocations: 275 kB / 326.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002794/0.05292, allocations: 2.81 MB / 329.5 MB, free: 10.83 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.05326, allocations: 0.5286 MB / 330 MB, free: 10.28 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002955/0.05356, allocations: 158.1 kB / 330.2 MB, free: 10.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004358/0.05399, allocations: 358 kB / 330.5 MB, free: 9.77 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.05399, allocations: 3.938 kB / 330.5 MB, free: 9.766 MB / 314.7 MB Notification: Performance of Templates: time 0.02105/0.07504, allocations: 17.12 MB / 347.7 MB, free: 8.91 MB / 330.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.233260865788907]