Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001068/0.002157, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009892/0.0009892, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001384/0.002373, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9456/0.9456, allocations: 173.4 MB / 186 MB, free: 7.523 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.145/1.091, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 239.7 MB, free: 6.363 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.668e-05/1.797e-05, allocations: 2.312 kB / 239.8 MB, free: 6.359 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.004679/0.004697, allocations: 5.803 MB / 245.6 MB, free: 0.5352 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003177/0.007873, allocations: 2.123 MB / 247.7 MB, free: 14.42 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004787/0.008352, allocations: 54.62 kB / 247.7 MB, free: 14.37 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000662/0.009014, allocations: 397.3 kB / 248.1 MB, free: 13.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001036/0.01005, allocations: 0.5935 MB / 248.7 MB, free: 13.38 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003289/0.01038, allocations: 229 kB / 248.9 MB, free: 13.16 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001782/0.01216, allocations: 2.328 MB / 251.3 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.01318, allocations: 1.17 MB / 252.4 MB, free: 9.566 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002038/0.01522, allocations: 1.72 MB / 254.2 MB, free: 7.883 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001356/0.01658, allocations: 1.206 MB / 255.4 MB, free: 6.676 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003984/0.01697, allocations: 288 kB / 255.6 MB, free: 6.395 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000537/0.01751, allocations: 376.4 kB / 256 MB, free: 6.027 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003768/0.01789, allocations: 0.6001 MB / 256.6 MB, free: 5.426 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006766/0.01857, allocations: 0.7182 MB / 257.3 MB, free: 4.707 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001914/0.02048, allocations: 1.905 MB / 259.2 MB, free: 2.797 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.439e-05/0.02049, allocations: 4.469 kB / 259.2 MB, free: 2.793 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.0205, allocations: 1.688 kB / 259.2 MB, free: 2.793 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.748e-05/0.02056, allocations: 0 / 259.2 MB, free: 2.793 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.002771/0.02333, allocations: 2.655 MB / 261.9 MB, free: 108 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.02337, allocations: 8.031 kB / 261.9 MB, free: 100 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005894/0.02396, allocations: 421.6 kB / 262.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.02503, allocations: 0.7978 MB / 263.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.724e-05/0.0251, allocations: 131.9 kB / 263.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/0.02527, allocations: 176.4 kB / 263.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.02681, allocations: 1.503 MB / 264.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.02683, allocations: 0 / 264.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.02693, allocations: 72 kB / 265 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/0.02704, allocations: 91.58 kB / 265.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007569/0.0278, allocations: 0.4982 MB / 265.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005895/0.03369, allocations: 4.815 MB / 270.4 MB, free: 7.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005887/0.03428, allocations: 377.5 kB / 270.8 MB, free: 6.871 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/0.03453, allocations: 170.9 kB / 270.9 MB, free: 6.699 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.03465, allocations: 36.47 kB / 271 MB, free: 6.664 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.03468, allocations: 39.06 kB / 271 MB, free: 6.617 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 2.465e-06/0.03469, allocations: 0 / 271 MB, free: 6.617 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.002064/0.03675, allocations: 0.9051 MB / 271.9 MB, free: 5.676 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.03678, allocations: 55.91 kB / 272 MB, free: 5.609 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008434/0.03762, allocations: 0.9231 MB / 272.9 MB, free: 4.672 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.03766, allocations: 33.7 kB / 272.9 MB, free: 4.633 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004419/0.0381, allocations: 0.898 MB / 273.8 MB, free: 3.723 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.03822, allocations: 202.3 kB / 274 MB, free: 3.523 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002575/0.03848, allocations: 242.6 kB / 274.2 MB, free: 3.277 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.03859, allocations: 353.8 kB / 274.6 MB, free: 2.926 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.03879, allocations: 121.4 kB / 274.7 MB, free: 2.809 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005217/0.03931, allocations: 0.772 MB / 275.5 MB, free: 1.715 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009712/0.04028, allocations: 1.079 MB / 276.6 MB, free: 332 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.345e-05/0.04029, allocations: 11.94 kB / 276.6 MB, free: 320 kB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001222/0.04151, allocations: 0.8486 MB / 277.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.04154, allocations: 12 kB / 277.4 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.142e-05/0.04156, allocations: 24 kB / 277.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004811/0.04204, allocations: 148 kB / 277.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000897/0.04294, allocations: 333.7 kB / 277.9 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/0.04431, allocations: 1.761 MB / 279.7 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006378/0.04495, allocations: 83.8 kB / 279.8 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.56e-05/0.04503, allocations: 60 kB / 279.8 MB, free: 12.95 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.0003313/0.04536, allocations: 208 kB / 280 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.04552, allocations: 91.91 kB / 280.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005403/0.04606, allocations: 361.6 kB / 280.5 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.04607, allocations: 11.94 kB / 280.5 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.04608, allocations: 0 / 280.5 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.04608, allocations: 3.984 kB / 280.5 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/0.04795, allocations: 1.472 MB / 282 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.04795, allocations: 0 / 282 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003347/0.04828, allocations: 128.2 kB / 282.1 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002138/0.0485, allocations: 123.2 kB / 282.2 MB, free: 10.47 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003937/0.04889, allocations: 119.4 kB / 282.3 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.35e-05/0.04892, allocations: 19.98 kB / 282.3 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001243/0.05017, allocations: 1.771 MB / 284.1 MB, free: 8.465 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.05017, allocations: 8.031 kB / 284.1 MB, free: 8.457 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007225/0.0509, allocations: 0.633 MB / 284.8 MB, free: 7.766 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.051, allocations: 12 kB / 284.8 MB, free: 7.754 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003441/0.05134, allocations: 43.97 kB / 284.8 MB, free: 7.711 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.285e-05/0.05142, allocations: 47.86 kB / 284.9 MB, free: 7.664 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/0.05146, allocations: 16 kB / 284.9 MB, free: 7.648 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005253/0.05198, allocations: 435.3 kB / 285.3 MB, free: 7.215 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05198, allocations: 3.938 kB / 285.3 MB, free: 7.211 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001077/0.05306, allocations: 351.9 kB / 285.6 MB, free: 6.867 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.0003848/0.05344, allocations: 180.3 kB / 285.8 MB, free: 6.691 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008402/0.05428, allocations: 0.6452 MB / 286.5 MB, free: 6.043 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.216e-05/0.05433, allocations: 25.75 kB / 286.5 MB, free: 6.02 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003911/0.05472, allocations: 329.4 kB / 286.8 MB, free: 5.684 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/0.05641, allocations: 2.729 MB / 289.5 MB, free: 2.43 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01439/0.0708, allocations: 2.877 MB / 292.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.07121, allocations: 441.3 kB / 292.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000496/0.07171, allocations: 150.1 kB / 293 MB, free: 14.86 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005535/0.07226, allocations: 317.1 kB / 293.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of SimCode: time 1.213e-06/0.07226, allocations: 0 / 293.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of Templates: time 0.02652/0.09878, allocations: 16.92 MB / 310.2 MB, free: 13.91 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.751568242907524]