Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001247/0.001247, allocations: 109.6 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001448/0.001448, allocations: 211.3 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 230.2 MB / 256.8 MB, free: 8.637 MB / 206.1 MB [Timeout remaining time 88] 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.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002354, allocations: 63.89 kB / 376.9 MB, free: 3.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2902, allocations: 53.31 MB / 430.2 MB, free: 7.809 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.03204/0.3222, allocations: 28.73 MB / 458.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01562/0.3378, allocations: 7.212 MB / 466.1 MB, free: 3.715 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005315/0.3432, allocations: 263.2 kB / 466.4 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02997/0.3731, allocations: 13.21 MB / 479.6 MB, free: 6.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01035/0.3835, allocations: 2.574 MB / 482.2 MB, free: 3.633 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006768/0.3902, allocations: 2.042 MB / 484.2 MB, free: 1.602 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02363/0.4139, allocations: 18.35 MB / 0.4908 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06333/0.4772, allocations: 34.25 MB / 0.5242 GB, free: 12.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01837/0.4956, allocations: 9.963 MB / 0.534 GB, free: 2.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.435/0.9306, allocations: 11.13 MB / 0.5448 GB, free: 37.53 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0095/0.9401, allocations: 2.921 MB / 0.5477 GB, free: 37.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0129/0.953, allocations: 3.193 MB / 0.5508 GB, free: 37.53 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01068/0.9637, allocations: 5.495 MB / 0.5562 GB, free: 37.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01981/0.9835, allocations: 10.82 MB / 0.5667 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03615/1.02, allocations: 39.1 MB / 0.6049 GB, free: 6.352 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/1.02, allocations: 0 / 0.6049 GB, free: 6.352 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.054e-06/1.02, allocations: 3.562 kB / 0.6049 GB, free: 6.352 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.00109/1.021, allocations: 5.625 kB / 0.6049 GB, free: 6.352 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.06543/1.086, allocations: 22.31 MB / 0.6267 GB, free: 1.043 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/1.086, allocations: 12.03 kB / 0.6267 GB, free: 1.031 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04625/1.132, allocations: 8.243 MB / 0.6348 GB, free: 8.855 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02622/1.159, allocations: 11.67 MB / 0.6462 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001514/1.16, allocations: 1.338 MB / 0.6475 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006847/1.167, allocations: 1.761 MB / 0.6492 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07637/1.243, allocations: 28.76 MB / 0.6773 GB, free: 13.74 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008319/1.244, allocations: 23.89 kB / 0.6773 GB, free: 13.71 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006234/1.25, allocations: 0.7327 MB / 0.678 GB, free: 12.99 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001029/1.252, allocations: 0.8415 MB / 0.6789 GB, free: 12.15 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06493/1.316, allocations: 24.83 MB / 0.7031 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3883/1.705, allocations: 87.52 MB / 0.7886 GB, free: 148.7 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02271/1.727, allocations: 34.59 MB / 0.8223 GB, free: 121.2 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008099/1.736, allocations: 5.047 MB / 0.8273 GB, free: 121.1 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006606/1.736, allocations: 327.2 kB / 0.8276 GB, free: 120.9 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.419e-05/1.736, allocations: 104.1 kB / 0.8277 GB, free: 120.9 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=577): time 8.706e-06/1.736, allocations: 0 / 0.8277 GB, free: 120.9 MB / 0.5763 GB Notification: Performance of matching and sorting (n=577): time 0.03245/1.769, allocations: 14.77 MB / 0.8421 GB, free: 116.8 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.771e-05/1.769, allocations: 141.3 kB / 0.8422 GB, free: 116.7 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01119/1.78, allocations: 6.427 MB / 0.8485 GB, free: 113.4 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001049/1.781, allocations: 118.3 kB / 0.8486 GB, free: 113.3 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004339/1.785, allocations: 7.894 MB / 0.8563 GB, free: 106.5 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002124/1.788, allocations: 2.115 MB / 0.8584 GB, free: 104.7 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005423/1.793, allocations: 2.11 MB / 0.8605 GB, free: 103.5 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.518e-05/1.793, allocations: 309 kB / 0.8608 GB, free: 103.2 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006484/1.8, allocations: 4.744 MB / 0.8654 GB, free: 100.7 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01041/1.81, allocations: 9.472 MB / 0.8746 GB, free: 91.74 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01702/1.827, allocations: 15.33 MB / 0.8896 GB, free: 74.23 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002318/1.827, allocations: 48 kB / 0.8897 GB, free: 74.18 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02573/1.853, allocations: 15.41 MB / 0.9047 GB, free: 58.69 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002129/1.853, allocations: 72 kB / 0.9048 GB, free: 58.62 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003064/1.853, allocations: 160 kB / 0.9049 GB, free: 58.46 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005284/1.859, allocations: 1.661 MB / 0.9066 GB, free: 56.8 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007647/1.866, allocations: 2.359 MB / 0.9089 GB, free: 54.43 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01319/1.88, allocations: 11.62 MB / 0.9202 GB, free: 42.68 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007481/1.887, allocations: 1.37 MB / 0.9215 GB, free: 41.3 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001815/1.889, allocations: 0.539 MB / 0.9221 GB, free: 40.77 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (1243): * Single equations (assignments): 1240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01132/1.9, allocations: 7.149 MB / 0.9291 GB, free: 33.6 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00152/1.902, allocations: 0.6481 MB / 0.9297 GB, free: 32.95 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01513/1.917, allocations: 10.07 MB / 0.9395 GB, free: 22.77 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01316/1.93, allocations: 7.758 MB / 0.9471 GB, free: 14.92 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.155e-05/1.93, allocations: 15.94 kB / 0.9471 GB, free: 14.91 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001106/1.93, allocations: 35.83 kB / 0.9471 GB, free: 14.87 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06273/1.993, allocations: 25.7 MB / 0.9722 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.265e-05/1.993, allocations: 8 kB / 0.9722 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004713/1.998, allocations: 1.022 MB / 0.9732 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005858/2.004, allocations: 1.461 MB / 0.9747 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001236/2.005, allocations: 132 kB / 0.9748 GB, free: 2.297 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2744/2.279, allocations: 11.15 MB / 0.9857 GB, free: 188.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.938e-06/2.279, allocations: 12.12 kB / 0.9857 GB, free: 188.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01873/2.298, allocations: 14.14 MB / 0.9995 GB, free: 182.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003911/2.302, allocations: 1.477 MB / 1.001 GB, free: 181.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00156/2.303, allocations: 113.2 kB / 1.001 GB, free: 181.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003626/2.307, allocations: 318.6 kB / 1.001 GB, free: 181.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009418/2.308, allocations: 404.9 kB / 1.002 GB, free: 181.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003591/2.308, allocations: 181.5 kB / 1.002 GB, free: 181 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00753/2.316, allocations: 4.305 MB / 1.006 GB, free: 179.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.51e-07/2.316, allocations: 0 / 1.006 GB, free: 179.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0131/2.329, allocations: 4.091 MB / 1.01 GB, free: 178.3 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 1 (source.plug_p.reference.gamma) * 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 (528): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001641/2.331, allocations: 323.1 kB / 1.01 GB, free: 178 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01655/2.347, allocations: 10.94 MB / 1.021 GB, free: 173.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.554e-05/2.347, allocations: 9.188 kB / 1.021 GB, free: 173.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007266/2.354, allocations: 4.338 MB / 1.025 GB, free: 172.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008945/2.363, allocations: 1.567 MB / 1.027 GB, free: 171.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05747/2.421, allocations: 29.24 MB / 1.055 GB, free: 148.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01975/2.441, allocations: 10.9 MB / 1.066 GB, free: 139.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002829/2.443, allocations: 0.6218 MB / 1.067 GB, free: 139.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.272e-06/2.443, allocations: 0 / 1.067 GB, free: 139.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.6255/3.069, allocations: 285.6 MB / 1.346 GB, free: 67.49 MB / 0.5919 GB [Timeout remaining time 657] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches