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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 85.95 kB / 23 MB, free: 1.504 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 171.6 kB / 26.39 MB, free: 7.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9835/0.9835, allocations: 158.6 MB / 188.3 MB, free: 2.82 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 252.3 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.829e-05, allocations: 6.25 kB / 252.3 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.005195/0.005224, allocations: 5.69 MB / 258 MB, free: 1.516 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003366/0.00859, allocations: 2.092 MB / 260 MB, free: 15.42 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005431/0.009133, allocations: 43.69 kB / 260.1 MB, free: 15.38 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000837/0.00997, allocations: 397.7 kB / 260.5 MB, free: 14.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001356/0.01133, allocations: 0.5977 MB / 261.1 MB, free: 14.38 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003839/0.01171, allocations: 235.6 kB / 261.3 MB, free: 14.15 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00187/0.01358, allocations: 2.372 MB / 263.7 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009629/0.01454, allocations: 1.036 MB / 264.7 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001943/0.01649, allocations: 1.6 MB / 266.3 MB, free: 9.102 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.01771, allocations: 1.2 MB / 267.5 MB, free: 7.898 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002721/0.01798, allocations: 288 kB / 267.8 MB, free: 7.617 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004645/0.01845, allocations: 367.8 kB / 268.2 MB, free: 7.258 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007185/0.01917, allocations: 0.7479 MB / 268.9 MB, free: 6.508 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007319/0.0199, allocations: 0.8654 MB / 269.8 MB, free: 5.641 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001888/0.02179, allocations: 2.021 MB / 271.8 MB, free: 3.613 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.02179, allocations: 0 / 271.8 MB, free: 3.613 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.02179, allocations: 4 kB / 271.8 MB, free: 3.609 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.781e-05/0.02182, allocations: 0 / 271.8 MB, free: 3.609 MB / 250.7 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.002572/0.02439, allocations: 2.475 MB / 274.3 MB, free: 1.086 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.02443, allocations: 11.98 kB / 274.3 MB, free: 1.074 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005833/0.02501, allocations: 411.4 kB / 274.7 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.02603, allocations: 0.9867 MB / 275.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.981e-05/0.0261, allocations: 131.9 kB / 275.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004129/0.02651, allocations: 180.3 kB / 276 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.02805, allocations: 1.466 MB / 277.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.02808, allocations: 4 kB / 277.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001767/0.02825, allocations: 72 kB / 277.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.232e-05/0.02833, allocations: 95.58 kB / 277.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006896/0.02902, allocations: 480.8 kB / 278.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00627/0.03529, allocations: 5.931 MB / 284 MB, free: 6.992 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005084/0.03579, allocations: 365.4 kB / 284.4 MB, free: 6.625 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.03602, allocations: 185.7 kB / 284.5 MB, free: 6.438 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/0.03614, allocations: 44.41 kB / 284.6 MB, free: 6.395 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.03617, allocations: 45.89 kB / 284.6 MB, free: 6.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 2.756e-06/0.03617, allocations: 112 / 284.6 MB, free: 6.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.001515/0.03769, allocations: 0.9978 MB / 285.6 MB, free: 5.301 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.03773, allocations: 85.61 kB / 285.7 MB, free: 5.199 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008869/0.03861, allocations: 1.147 MB / 286.9 MB, free: 4.035 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.03864, allocations: 37.7 kB / 286.9 MB, free: 3.992 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005451/0.03919, allocations: 1.102 MB / 288 MB, free: 2.875 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.0393, allocations: 214.3 kB / 288.2 MB, free: 2.664 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/0.03953, allocations: 268.3 kB / 288.5 MB, free: 2.395 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.0397, allocations: 0.5471 MB / 289 MB, free: 1.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.03984, allocations: 102.5 kB / 289.1 MB, free: 1.738 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008715/0.04071, allocations: 1.077 MB / 290.2 MB, free: 232 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000845/0.04156, allocations: 1.29 MB / 291.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.04157, allocations: 4 kB / 291.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00114/0.04271, allocations: 1.02 MB / 292.5 MB, free: 13.47 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.04273, allocations: 16 kB / 292.5 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.04275, allocations: 24 kB / 292.5 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004176/0.04317, allocations: 147.7 kB / 292.7 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004884/0.04366, allocations: 283.5 kB / 293 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/0.04501, allocations: 2.321 MB / 295.3 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004825/0.0455, allocations: 87.78 kB / 295.4 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-05/0.04555, allocations: 52 kB / 295.4 MB, free: 10.44 MB / 282.7 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.0003063/0.04586, allocations: 256 kB / 295.7 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.04602, allocations: 143.2 kB / 295.8 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005175/0.04654, allocations: 408.6 kB / 296.2 MB, free: 9.621 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.04654, allocations: 11.94 kB / 296.2 MB, free: 9.609 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.04655, allocations: 0 / 296.2 MB, free: 9.609 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.04655, allocations: 3.984 kB / 296.2 MB, free: 9.605 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002197/0.04875, allocations: 1.865 MB / 298.1 MB, free: 7.656 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.04875, allocations: 8.062 kB / 298.1 MB, free: 7.648 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.04894, allocations: 91.89 kB / 298.2 MB, free: 7.559 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003276/0.04927, allocations: 119.5 kB / 298.3 MB, free: 7.438 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.04929, allocations: 19.98 kB / 298.3 MB, free: 7.418 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/0.05049, allocations: 2.283 MB / 300.6 MB, free: 5.016 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.05049, allocations: 7.984 kB / 300.6 MB, free: 5.008 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007462/0.05124, allocations: 0.7517 MB / 301.4 MB, free: 4.191 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/0.05148, allocations: 175.1 kB / 301.5 MB, free: 4.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.64e-05/0.05157, allocations: 12 kB / 301.6 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002669/0.05183, allocations: 39.97 kB / 301.6 MB, free: 3.969 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.398e-05/0.05191, allocations: 55.83 kB / 301.6 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/0.05193, allocations: 16 kB / 301.7 MB, free: 3.898 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000501/0.05243, allocations: 0.5902 MB / 302.3 MB, free: 3.301 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.05243, allocations: 0 / 302.3 MB, free: 3.301 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001001/0.05344, allocations: 347.9 kB / 302.6 MB, free: 2.961 MB / 282.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.0003559/0.05379, allocations: 182.2 kB / 302.8 MB, free: 2.781 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.05495, allocations: 0.7325 MB / 303.5 MB, free: 2.031 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.05495, allocations: 0 / 303.5 MB, free: 2.031 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003335/0.05528, allocations: 381.9 kB / 303.9 MB, free: 1.637 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007365/0.05602, allocations: 273.6 kB / 304.1 MB, free: 1.371 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/0.05947, allocations: 2.777 MB / 306.9 MB, free: 14.5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.05986, allocations: 0.5285 MB / 307.4 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003588/0.06022, allocations: 158 kB / 307.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000469/0.06069, allocations: 362 kB / 308 MB, free: 13.43 MB / 298.7 MB Notification: Performance of SimCode: time 8.72e-07/0.06069, allocations: 0 / 308 MB, free: 13.43 MB / 298.7 MB Notification: Performance of Templates: time 0.02417/0.08486, allocations: 17.05 MB / 325 MB, free: 12.38 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 240] 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","",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.181433029938489]