Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001329/0.001329, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001279/0.001279, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.438/1.438, allocations: 230.4 MB / 251.1 MB, free: 8.441 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 71.83 kB / 369 MB, free: 6.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2253, allocations: 53.32 MB / 422.3 MB, free: 7.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.03829/0.2636, allocations: 28.73 MB / 451 MB, free: 11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02045/0.2841, allocations: 7.203 MB / 458.2 MB, free: 3.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006992/0.2911, allocations: 263.2 kB / 458.5 MB, free: 3.512 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04983/0.3409, allocations: 13.22 MB / 471.7 MB, free: 6.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01439/0.3553, allocations: 2.563 MB / 474.2 MB, free: 3.684 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007485/0.3628, allocations: 2.033 MB / 476.3 MB, free: 1.656 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0256/0.3884, allocations: 18.35 MB / 494.6 MB, free: 15.24 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06077/0.4491, allocations: 34.25 MB / 0.5165 GB, free: 12.78 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01621/0.4653, allocations: 9.957 MB / 0.5262 GB, free: 2.809 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01936/0.4847, allocations: 11.14 MB / 0.5371 GB, free: 7.625 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008514/0.4932, allocations: 2.918 MB / 0.5399 GB, free: 4.707 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01011/0.5033, allocations: 3.199 MB / 0.5431 GB, free: 1.508 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.4355/0.9388, allocations: 5.482 MB / 0.5484 GB, free: 49.42 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01887/0.9577, allocations: 10.83 MB / 0.559 GB, free: 48.56 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03551/0.9932, allocations: 39.11 MB / 0.5972 GB, free: 28.46 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.9932, allocations: 0 / 0.5972 GB, free: 28.46 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.9932, allocations: 0 / 0.5972 GB, free: 28.46 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0009856/0.9942, allocations: 0 / 0.5972 GB, free: 28.46 MB / 462.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.05666/1.051, allocations: 22.31 MB / 0.619 GB, free: 14.53 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/1.051, allocations: 10.31 kB / 0.619 GB, free: 14.53 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04172/1.093, allocations: 8.244 MB / 0.627 GB, free: 7.812 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02289/1.116, allocations: 11.68 MB / 0.6384 GB, free: 12.56 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001751/1.117, allocations: 1.342 MB / 0.6397 GB, free: 11.23 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007702/1.125, allocations: 1.76 MB / 0.6415 GB, free: 9.48 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07825/1.203, allocations: 28.75 MB / 0.6695 GB, free: 12.68 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008456/1.204, allocations: 27.27 kB / 0.6696 GB, free: 12.66 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00618/1.21, allocations: 0.7204 MB / 0.6703 GB, free: 11.95 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000996/1.211, allocations: 0.8503 MB / 0.6711 GB, free: 11.1 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05432/1.266, allocations: 24.83 MB / 0.6954 GB, free: 2.246 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4122/1.678, allocations: 87.51 MB / 0.7808 GB, free: 152.5 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02179/1.7, allocations: 34.6 MB / 0.8146 GB, free: 125 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007269/1.707, allocations: 5.048 MB / 0.8195 GB, free: 124.9 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004043/1.707, allocations: 324.7 kB / 0.8198 GB, free: 124.7 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.982e-05/1.707, allocations: 96.64 kB / 0.8199 GB, free: 124.6 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=577): time 7.484e-06/1.707, allocations: 0 / 0.8199 GB, free: 124.6 MB / 0.5763 GB Notification: Performance of matching and sorting (n=577): time 0.02831/1.736, allocations: 14.77 MB / 0.8344 GB, free: 123.8 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/1.736, allocations: 138.2 kB / 0.8345 GB, free: 123.7 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009091/1.745, allocations: 6.427 MB / 0.8408 GB, free: 123.3 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001002/1.746, allocations: 114.7 kB / 0.8409 GB, free: 123.3 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003671/1.749, allocations: 7.904 MB / 0.8486 GB, free: 117.9 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002175/1.752, allocations: 2.104 MB / 0.8506 GB, free: 116.2 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002817/1.754, allocations: 2.119 MB / 0.8527 GB, free: 115.2 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.211e-05/1.755, allocations: 301.1 kB / 0.853 GB, free: 114.9 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0057/1.76, allocations: 4.746 MB / 0.8576 GB, free: 112.6 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007537/1.768, allocations: 9.469 MB / 0.8669 GB, free: 103.6 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01412/1.782, allocations: 15.33 MB / 0.8819 GB, free: 89.03 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001665/1.782, allocations: 51.88 kB / 0.8819 GB, free: 88.98 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02401/1.806, allocations: 15.41 MB / 0.897 GB, free: 73.48 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/1.806, allocations: 76 kB / 0.897 GB, free: 73.41 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002162/1.806, allocations: 161.3 kB / 0.8972 GB, free: 73.25 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005175/1.812, allocations: 1.661 MB / 0.8988 GB, free: 71.59 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007764/1.819, allocations: 2.359 MB / 0.9011 GB, free: 69.23 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01274/1.832, allocations: 11.61 MB / 0.9125 GB, free: 57.48 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007094/1.839, allocations: 1.374 MB / 0.9138 GB, free: 56.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001364/1.84, allocations: 0.5351 MB / 0.9143 GB, free: 55.57 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.01064/1.851, allocations: 7.153 MB / 0.9213 GB, free: 48.39 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001216/1.852, allocations: 0.6365 MB / 0.9219 GB, free: 47.75 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01324/1.866, allocations: 10.07 MB / 0.9318 GB, free: 37.57 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009516/1.875, allocations: 7.769 MB / 0.9394 GB, free: 29.71 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.936e-05/1.875, allocations: 12 kB / 0.9394 GB, free: 29.7 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.114e-05/1.875, allocations: 31.88 kB / 0.9394 GB, free: 29.67 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03861/1.914, allocations: 25.69 MB / 0.9645 GB, free: 3.73 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-05/1.914, allocations: 11.98 kB / 0.9645 GB, free: 3.719 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003334/1.917, allocations: 1.014 MB / 0.9655 GB, free: 2.703 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00435/1.921, allocations: 1.461 MB / 0.9669 GB, free: 1.238 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003606/1.922, allocations: 135.9 kB / 0.967 GB, free: 1.105 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01585/1.938, allocations: 11.17 MB / 0.9779 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-05/1.938, allocations: 15.94 kB / 0.978 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2506/2.188, allocations: 14.13 MB / 0.9918 GB, free: 185.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003297/2.192, allocations: 1.473 MB / 0.9932 GB, free: 185.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001007/2.193, allocations: 117.9 kB / 0.9933 GB, free: 185.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002524/2.195, allocations: 316 kB / 0.9936 GB, free: 185.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007109/2.196, allocations: 405.6 kB / 0.994 GB, free: 185.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003041/2.196, allocations: 174 kB / 0.9942 GB, free: 185.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006548/2.203, allocations: 4.308 MB / 0.9984 GB, free: 185 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.01e-07/2.203, allocations: 0 / 0.9984 GB, free: 185 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0116/2.214, allocations: 4.089 MB / 1.002 GB, free: 183.7 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.001247/2.216, allocations: 321.8 kB / 1.003 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01541/2.231, allocations: 10.96 MB / 1.013 GB, free: 179.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/2.231, allocations: 7.406 kB / 1.013 GB, free: 179.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006762/2.238, allocations: 4.338 MB / 1.018 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007101/2.245, allocations: 1.565 MB / 1.019 GB, free: 177.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04889/2.294, allocations: 29.84 MB / 1.048 GB, free: 159.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01781/2.312, allocations: 11.25 MB / 1.059 GB, free: 150.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01051/2.322, allocations: 3.768 MB / 1.063 GB, free: 147.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002334/2.324, allocations: 0.5527 MB / 1.063 GB, free: 147.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.343e-06/2.324, allocations: 0 / 1.063 GB, free: 147.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.1615/2.486, allocations: 102.3 MB / 1.163 GB, free: 47.5 MB / 0.5919 GB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches