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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001322/0.001322, allocations: 116.3 kB / 19.17 MB, free: 3.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001501/0.001501, allocations: 205 kB / 22.12 MB, free: 0.9062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.447/1.447, allocations: 230.5 MB / 255.4 MB, free: 14.96 MB / 206.1 MB " [Timeout remaining time 178] 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] "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.00195/0.00195, allocations: 71.83 kB / 374.8 MB, free: 9.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1119, allocations: 53.32 MB / 428.1 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.239/0.3509, allocations: 28.71 MB / 456.8 MB, free: 9.227 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01675/0.3676, allocations: 7.214 MB / 464 MB, free: 4.102 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00634/0.374, allocations: 259.8 kB / 464.3 MB, free: 4.055 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03004/0.404, allocations: 13.22 MB / 477.5 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01203/0.4161, allocations: 2.566 MB / 480 MB, free: 8.938 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006976/0.423, allocations: 2.032 MB / 482.1 MB, free: 7.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02422/0.4473, allocations: 18.3 MB / 0.4886 GB, free: 8.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06239/0.5096, allocations: 34.24 MB / 0.5221 GB, free: 5.961 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01656/0.5262, allocations: 9.948 MB / 0.5318 GB, free: 12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01852/0.5447, allocations: 11.12 MB / 0.5427 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007192/0.5519, allocations: 2.918 MB / 0.5455 GB, free: 13.92 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009619/0.5615, allocations: 3.199 MB / 0.5486 GB, free: 10.72 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008683/0.5702, allocations: 5.491 MB / 0.554 GB, free: 5.219 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01865/0.5889, allocations: 10.82 MB / 0.5646 GB, free: 10.36 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04814/0.637, allocations: 39.1 MB / 0.6028 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.637, allocations: 0 / 0.6028 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.014e-06/0.637, allocations: 0 / 0.6028 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.001012/0.638, allocations: 0 / 0.6028 GB, free: 3.129 MB / 0.4981 GB 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.4225/1.061, allocations: 22.31 MB / 0.6245 GB, free: 135.9 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/1.061, allocations: 9.781 kB / 0.6246 GB, free: 135.9 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04485/1.105, allocations: 8.244 MB / 0.6326 GB, free: 134.5 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02718/1.133, allocations: 11.68 MB / 0.644 GB, free: 129.2 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001658/1.134, allocations: 1.343 MB / 0.6453 GB, free: 128.6 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006052/1.14, allocations: 1.754 MB / 0.647 GB, free: 128 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06058/1.201, allocations: 28.76 MB / 0.6751 GB, free: 106.4 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007516/1.202, allocations: 27.88 kB / 0.6751 GB, free: 106.3 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005147/1.207, allocations: 0.7293 MB / 0.6759 GB, free: 105.6 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006083/1.207, allocations: 0.8454 MB / 0.6767 GB, free: 104.8 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04311/1.25, allocations: 24.83 MB / 0.7009 GB, free: 79.91 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1212/1.372, allocations: 87.52 MB / 0.7864 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03364/1.405, allocations: 34.58 MB / 0.8202 GB, free: 1.77 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009392/1.415, allocations: 5.051 MB / 0.8251 GB, free: 12.7 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006965/1.415, allocations: 334.5 kB / 0.8254 GB, free: 12.34 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.921e-05/1.416, allocations: 99.06 kB / 0.8255 GB, free: 12.23 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=577): time 8.717e-06/1.416, allocations: 0 / 0.8255 GB, free: 12.23 MB / 0.5763 GB Notification: Performance of matching and sorting (n=577): time 0.03727/1.453, allocations: 14.76 MB / 0.8399 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/1.453, allocations: 133.6 kB / 0.8401 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01249/1.465, allocations: 6.435 MB / 0.8463 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001037/1.466, allocations: 117.7 kB / 0.8465 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.3962/1.863, allocations: 7.897 MB / 0.8542 GB, free: 197.9 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.002211/1.865, allocations: 2.107 MB / 0.8562 GB, free: 197.1 MB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003272/1.868, allocations: 2.119 MB / 0.8583 GB, free: 196.9 MB / 0.592 GB Notification: Performance of setup shared object (initialization): time 3.965e-05/1.868, allocations: 302.1 kB / 0.8586 GB, free: 196.6 MB / 0.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007467/1.876, allocations: 4.743 MB / 0.8632 GB, free: 196.6 MB / 0.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01001/1.886, allocations: 9.468 MB / 0.8725 GB, free: 188.8 MB / 0.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01801/1.904, allocations: 15.33 MB / 0.8874 GB, free: 177.6 MB / 0.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002787/1.904, allocations: 45.06 kB / 0.8875 GB, free: 177.6 MB / 0.592 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02368/1.928, allocations: 15.41 MB / 0.9025 GB, free: 171.4 MB / 0.592 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001439/1.928, allocations: 73.84 kB / 0.9026 GB, free: 171.4 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002563/1.928, allocations: 161.9 kB / 0.9028 GB, free: 171.4 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005105/1.933, allocations: 1.659 MB / 0.9044 GB, free: 171.1 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007217/1.94, allocations: 2.36 MB / 0.9067 GB, free: 170.9 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01301/1.953, allocations: 11.61 MB / 0.918 GB, free: 164.6 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006997/1.96, allocations: 1.38 MB / 0.9194 GB, free: 164.1 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001388/1.962, allocations: 0.5351 MB / 0.9199 GB, free: 164 MB / 0.592 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.009388/1.971, allocations: 7.143 MB / 0.9269 GB, free: 158.2 MB / 0.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001116/1.972, allocations: 0.6403 MB / 0.9275 GB, free: 157.6 MB / 0.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0128/1.985, allocations: 10.07 MB / 0.9373 GB, free: 149.1 MB / 0.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008997/1.994, allocations: 7.772 MB / 0.9449 GB, free: 142.2 MB / 0.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-05/1.994, allocations: 15.94 kB / 0.9449 GB, free: 142.2 MB / 0.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-05/1.994, allocations: 27.89 kB / 0.945 GB, free: 142.2 MB / 0.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0398/2.034, allocations: 25.69 MB / 0.97 GB, free: 116.3 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.903e-05/2.034, allocations: 10.19 kB / 0.9701 GB, free: 116.3 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00388/2.038, allocations: 1.021 MB / 0.9711 GB, free: 115.3 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004707/2.043, allocations: 1.465 MB / 0.9725 GB, free: 113.8 MB / 0.592 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006967/2.043, allocations: 132 kB / 0.9726 GB, free: 113.7 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01184/2.055, allocations: 11.16 MB / 0.9835 GB, free: 102.5 MB / 0.592 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/2.055, allocations: 19.62 kB / 0.9835 GB, free: 102.5 MB / 0.592 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01725/2.072, allocations: 14.13 MB / 0.9973 GB, free: 87.98 MB / 0.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003755/2.076, allocations: 1.483 MB / 0.9988 GB, free: 86.55 MB / 0.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001426/2.078, allocations: 114.1 kB / 0.9989 GB, free: 86.45 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003251/2.081, allocations: 311.6 kB / 0.9992 GB, free: 86.14 MB / 0.592 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007699/2.082, allocations: 408.4 kB / 0.9996 GB, free: 85.74 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004001/2.082, allocations: 176 kB / 0.9997 GB, free: 85.57 MB / 0.592 GB Notification: Performance of sorting global known variables: time 0.006261/2.088, allocations: 4.305 MB / 1.004 GB, free: 81.29 MB / 0.592 GB Notification: Performance of sort global known variables: time 8e-08/2.088, allocations: 4 kB / 1.004 GB, free: 81.29 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.01036/2.099, allocations: 4.088 MB / 1.008 GB, free: 77.59 MB / 0.592 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.001095/2.1, allocations: 321.2 kB / 1.008 GB, free: 77.28 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.01464/2.114, allocations: 10.95 MB / 1.019 GB, free: 66.29 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 9.928e-06/2.114, allocations: 11.56 kB / 1.019 GB, free: 66.28 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.005812/2.12, allocations: 4.34 MB / 1.023 GB, free: 61.93 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007202/2.127, allocations: 1.563 MB / 1.025 GB, free: 60.43 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04463/2.172, allocations: 28.96 MB / 1.053 GB, free: 31.26 MB / 0.592 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01322/2.185, allocations: 10.9 MB / 1.064 GB, free: 20.32 MB / 0.592 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002576/2.188, allocations: 0.6165 MB / 1.064 GB, free: 19.7 MB / 0.592 GB Notification: Performance of SimCode: time 1.313e-06/2.188, allocations: 0 / 1.064 GB, free: 19.7 MB / 0.592 GB Notification: Performance of Templates: time 0.7748/2.963, allocations: 285.6 MB / 1.343 GB, free: 175.1 MB / 0.6077 GB " [Timeout remaining time 657] 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/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_4.1.0-beta.om_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 [Calling sys.exit(0), Time elapsed: 22.538590661017224]