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.0008196/0.0008196, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 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.005535/0.005535, allocations: 148.3 kB / 24.68 MB, free: 9.434 MB / 18.57 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.8502/0.8502, allocations: 173.4 MB / 201.2 MB, free: 9.418 MB / 186.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.1..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.1..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 319.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.494e-05, allocations: 2.281 kB / 319.7 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.006324/0.006349, allocations: 5.299 MB / 325 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003982/0.01033, allocations: 1.971 MB / 327 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007525/0.01108, allocations: 51.69 kB / 327 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.01211, allocations: 397.2 kB / 327.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001529/0.01364, allocations: 0.5977 MB / 328 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004511/0.01409, allocations: 215.8 kB / 328.2 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002265/0.01636, allocations: 2.291 MB / 330.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001649/0.01801, allocations: 1.127 MB / 331.6 MB, free: 9.785 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002667/0.02068, allocations: 1.571 MB / 333.2 MB, free: 8.227 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001758/0.02243, allocations: 1.087 MB / 334.3 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005373/0.02297, allocations: 288 kB / 334.6 MB, free: 6.855 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005979/0.02357, allocations: 367.8 kB / 334.9 MB, free: 6.496 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005739/0.02414, allocations: 0.7323 MB / 335.7 MB, free: 5.762 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001213/0.02536, allocations: 0.8537 MB / 336.5 MB, free: 4.906 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003671/0.02903, allocations: 3.849 MB / 340.4 MB, free: 1.047 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.02903, allocations: 0 / 340.4 MB, free: 1.047 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.02904, allocations: 3.938 kB / 340.4 MB, free: 1.043 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.583e-05/0.02912, allocations: 0 / 340.4 MB, free: 1.043 MB / 298.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.004537/0.03366, allocations: 2.341 MB / 342.7 MB, free: 14.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.0337, allocations: 12.03 kB / 342.7 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000651/0.03436, allocations: 259.5 kB / 343 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/0.03657, allocations: 1.299 MB / 344.3 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.659e-05/0.03666, allocations: 139.8 kB / 344.4 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002477/0.03691, allocations: 172.4 kB / 344.6 MB, free: 12.76 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004027/0.04094, allocations: 2.767 MB / 347.3 MB, free: 9.918 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.388e-05/0.04097, allocations: 0 / 347.3 MB, free: 9.918 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001648/0.04114, allocations: 72 kB / 347.4 MB, free: 9.848 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/0.04124, allocations: 95.58 kB / 347.5 MB, free: 9.754 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003387/0.04463, allocations: 2.106 MB / 349.6 MB, free: 7.645 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006686/0.05131, allocations: 6.328 MB / 355.9 MB, free: 1.082 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007664/0.05208, allocations: 0.6989 MB / 356.6 MB, free: 388 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004285/0.05251, allocations: 447.2 kB / 357.1 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001244/0.05263, allocations: 44.41 kB / 357.1 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.05265, allocations: 43.05 kB / 357.2 MB, free: 15.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=52): time 1.993e-06/0.05266, allocations: 4 kB / 357.2 MB, free: 15.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=53): time 0.00256/0.05522, allocations: 2.125 MB / 359.3 MB, free: 13.67 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.05526, allocations: 85.61 kB / 359.4 MB, free: 13.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.05636, allocations: 1.34 MB / 360.7 MB, free: 12.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.05639, allocations: 41.69 kB / 360.8 MB, free: 12.17 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004086/0.05679, allocations: 1.013 MB / 361.8 MB, free: 11.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.622e-05/0.05689, allocations: 206.3 kB / 362 MB, free: 10.94 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001924/0.05708, allocations: 234.8 kB / 362.2 MB, free: 10.7 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.15e-05/0.05717, allocations: 361.9 kB / 362.5 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004224/0.0576, allocations: 454.3 kB / 363 MB, free: 9.898 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006674/0.05826, allocations: 1.12 MB / 364.1 MB, free: 8.461 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/0.05964, allocations: 1.624 MB / 365.7 MB, free: 6.527 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.05965, allocations: 8 kB / 365.7 MB, free: 6.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001573/0.06122, allocations: 1.678 MB / 367.4 MB, free: 4.832 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.06124, allocations: 16 kB / 367.4 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.06126, allocations: 20 kB / 367.5 MB, free: 4.797 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003974/0.06166, allocations: 180.8 kB / 367.6 MB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004452/0.0621, allocations: 287.5 kB / 367.9 MB, free: 4.336 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/0.06351, allocations: 2.215 MB / 370.1 MB, free: 2.016 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004588/0.06397, allocations: 91.81 kB / 370.2 MB, free: 1.926 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.472e-05/0.06403, allocations: 64 kB / 370.3 MB, free: 1.863 MB / 330.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.0006271/0.06465, allocations: 0.6963 MB / 371 MB, free: 1.156 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.06477, allocations: 135.1 kB / 371.1 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.0658, allocations: 0.8179 MB / 371.9 MB, free: 200 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.0658, allocations: 4 kB / 371.9 MB, free: 196 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.0658, allocations: 4 kB / 371.9 MB, free: 192 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.06581, allocations: 3.984 kB / 371.9 MB, free: 188 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/0.06778, allocations: 2.082 MB / 374 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.06778, allocations: 4 kB / 374 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.06796, allocations: 95.88 kB / 374.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000304/0.06827, allocations: 152.7 kB / 374.3 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.06829, allocations: 23.86 kB / 374.3 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001233/0.06952, allocations: 2.157 MB / 376.4 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.06953, allocations: 7.938 kB / 376.5 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.0706, allocations: 1.307 MB / 377.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002419/0.07084, allocations: 187.2 kB / 377.9 MB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.746e-05/0.07091, allocations: 19.98 kB / 378 MB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.07117, allocations: 48.03 kB / 378 MB, free: 9.875 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.739e-05/0.07124, allocations: 55.8 kB / 378.1 MB, free: 9.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.07127, allocations: 20 kB / 378.1 MB, free: 9.801 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009735/0.07224, allocations: 0.8911 MB / 379 MB, free: 8.902 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.07224, allocations: 0 / 379 MB, free: 8.902 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007985/0.07304, allocations: 347.9 kB / 379.3 MB, free: 8.562 MB / 346.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.0003314/0.07337, allocations: 185.5 kB / 379.5 MB, free: 8.379 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.07447, allocations: 1.121 MB / 380.6 MB, free: 7.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.07447, allocations: 1.875 kB / 380.6 MB, free: 7.25 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004307/0.0749, allocations: 0.4911 MB / 381.1 MB, free: 6.746 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006924/0.0756, allocations: 271.3 kB / 381.4 MB, free: 6.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003209/0.0788, allocations: 3.157 MB / 384.5 MB, free: 3.246 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009409/0.07975, allocations: 1.082 MB / 385.6 MB, free: 2.129 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.07989, allocations: 88.48 kB / 385.7 MB, free: 2.043 MB / 346.7 MB Notification: Performance of SimCode: time 5.51e-07/0.07989, allocations: 0 / 385.7 MB, free: 2.043 MB / 346.7 MB Notification: Performance of Templates: time 0.02322/0.1031, allocations: 31.32 MB / 417 MB, free: 2.801 MB / 378.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 5.841825702227652]