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.00154/0.00154, allocations: 80.8 kB / 22.29 MB, free: 2.207 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.001088/0.001088, allocations: 172.2 kB / 25.7 MB, free: 8.445 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.8095/0.8095, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.152e-06/1.152e-06, allocations: 0 / 251.5 MB, free: 7.285 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.518e-06/1.067e-05, allocations: 2.312 kB / 251.5 MB, free: 7.281 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.004656/0.004666, allocations: 5.698 MB / 257.2 MB, free: 1.543 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002827/0.007493, allocations: 2.162 MB / 259.4 MB, free: 15.38 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003317/0.007825, allocations: 47.62 kB / 259.4 MB, free: 15.33 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006417/0.008467, allocations: 393.3 kB / 259.8 MB, free: 14.94 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008669/0.009334, allocations: 0.5977 MB / 260.4 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.009609, allocations: 239.7 kB / 260.7 MB, free: 14.11 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001445/0.01105, allocations: 2.373 MB / 263 MB, free: 11.72 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008414/0.0119, allocations: 1.056 MB / 264.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.01344, allocations: 1.606 MB / 265.7 MB, free: 9.016 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/0.01457, allocations: 1.197 MB / 266.9 MB, free: 7.816 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002892/0.01486, allocations: 288 kB / 267.2 MB, free: 7.535 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003834/0.01524, allocations: 363.8 kB / 267.5 MB, free: 7.18 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004075/0.01565, allocations: 0.7402 MB / 268.3 MB, free: 6.438 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006338/0.01629, allocations: 0.8692 MB / 269.1 MB, free: 5.566 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.01764, allocations: 2.029 MB / 271.2 MB, free: 3.531 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.01765, allocations: 0 / 271.2 MB, free: 3.531 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.01765, allocations: 0 / 271.2 MB, free: 3.531 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.883e-05/0.01768, allocations: 0 / 271.2 MB, free: 3.531 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.00209/0.01977, allocations: 2.223 MB / 273.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.01979, allocations: 11.98 kB / 273.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004768/0.02027, allocations: 340.6 kB / 273.7 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007762/0.02105, allocations: 0.712 MB / 274.4 MB, free: 192 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.908e-05/0.02111, allocations: 131.9 kB / 274.6 MB, free: 60 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.02128, allocations: 180.3 kB / 274.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.0226, allocations: 1.492 MB / 276.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.02262, allocations: 0 / 276.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.02272, allocations: 72 kB / 276.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.396e-05/0.02279, allocations: 99.52 kB / 276.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000708/0.0235, allocations: 0.5098 MB / 276.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004397/0.02789, allocations: 4.772 MB / 281.7 MB, free: 8.625 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004249/0.02832, allocations: 391 kB / 282.1 MB, free: 8.234 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.0285, allocations: 167 kB / 282.2 MB, free: 8.066 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.733e-05/0.0286, allocations: 32.48 kB / 282.3 MB, free: 8.035 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.02862, allocations: 47 kB / 282.3 MB, free: 7.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 1.473e-06/0.02862, allocations: 4 kB / 282.3 MB, free: 7.977 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.00123/0.02985, allocations: 0.8739 MB / 283.2 MB, free: 7.066 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.02989, allocations: 89.59 kB / 283.3 MB, free: 6.961 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006163/0.0305, allocations: 0.9192 MB / 284.2 MB, free: 6.027 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.03053, allocations: 37.7 kB / 284.2 MB, free: 5.984 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003399/0.03087, allocations: 0.9017 MB / 285.1 MB, free: 5.066 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.307e-05/0.03097, allocations: 198.4 kB / 285.3 MB, free: 4.871 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/0.03115, allocations: 234.6 kB / 285.6 MB, free: 4.637 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.145e-05/0.03124, allocations: 357.8 kB / 285.9 MB, free: 4.281 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.0314, allocations: 125.4 kB / 286 MB, free: 4.156 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004235/0.03182, allocations: 0.7683 MB / 286.8 MB, free: 3.066 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006619/0.03248, allocations: 1.008 MB / 287.8 MB, free: 1.746 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/0.03249, allocations: 7.938 kB / 287.8 MB, free: 1.738 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.000853/0.03334, allocations: 0.8489 MB / 288.7 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.03336, allocations: 16 kB / 288.7 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.03338, allocations: 20 kB / 288.7 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003405/0.03372, allocations: 155.5 kB / 288.8 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004439/0.03416, allocations: 283.5 kB / 289.1 MB, free: 420 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.03522, allocations: 1.75 MB / 290.9 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003982/0.03562, allocations: 83.8 kB / 291 MB, free: 14.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.435e-05/0.03567, allocations: 59.98 kB / 291 MB, free: 14.43 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.0002264/0.0359, allocations: 204.1 kB / 291.2 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.03602, allocations: 95.84 kB / 291.3 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004023/0.03642, allocations: 365.5 kB / 291.7 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.03642, allocations: 4 kB / 291.7 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.03643, allocations: 7.938 kB / 291.7 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.03643, allocations: 3.984 kB / 291.7 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.03782, allocations: 1.472 MB / 293.1 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.03783, allocations: 4.344 kB / 293.2 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.038, allocations: 95.89 kB / 293.2 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000282/0.03829, allocations: 111.5 kB / 293.4 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.03831, allocations: 16 kB / 293.4 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009385/0.03925, allocations: 1.779 MB / 295.1 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.03925, allocations: 4 kB / 295.2 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005432/0.03979, allocations: 0.6213 MB / 295.8 MB, free: 9.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/0.03996, allocations: 123.2 kB / 295.9 MB, free: 9.289 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.558e-05/0.04004, allocations: 19.98 kB / 295.9 MB, free: 9.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.04027, allocations: 35.98 kB / 295.9 MB, free: 9.234 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.306e-05/0.04033, allocations: 51.83 kB / 296 MB, free: 9.184 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.453e-05/0.04036, allocations: 23.98 kB / 296 MB, free: 9.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003466/0.0407, allocations: 431.3 kB / 296.4 MB, free: 8.73 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0407, allocations: 0 / 296.4 MB, free: 8.73 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006966/0.0414, allocations: 344 kB / 296.8 MB, free: 8.395 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.0002827/0.04168, allocations: 177.7 kB / 297 MB, free: 8.223 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006146/0.0423, allocations: 0.6331 MB / 297.6 MB, free: 7.578 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-05/0.04232, allocations: 17.81 kB / 297.6 MB, free: 7.562 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002723/0.04259, allocations: 300 kB / 297.9 MB, free: 7.254 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006123/0.04321, allocations: 277.4 kB / 298.2 MB, free: 6.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002848/0.04606, allocations: 2.721 MB / 300.9 MB, free: 4.176 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.04636, allocations: 429.3 kB / 301.3 MB, free: 3.73 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000294/0.04666, allocations: 158 kB / 301.5 MB, free: 3.574 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004185/0.04708, allocations: 317.1 kB / 301.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of SimCode: time 6.82e-07/0.04708, allocations: 0 / 301.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of Templates: time 0.01954/0.06661, allocations: 16.72 MB / 318.5 MB, free: 2.539 MB / 298.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: 2.7984776608645916]