Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.406/1.406, allocations: 230.6 MB / 258.3 MB, free: 8 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 43.94 kB / 379 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2306, allocations: 53.36 MB / 432.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.03249/0.2631, allocations: 28.77 MB / 461.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01561/0.2787, allocations: 7.214 MB / 468.4 MB, free: 2.809 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005273/0.284, allocations: 318.4 kB / 468.7 MB, free: 2.496 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02913/0.3131, allocations: 13.25 MB / 481.9 MB, free: 5.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009598/0.3227, allocations: 2.637 MB / 484.6 MB, free: 2.566 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006207/0.3289, allocations: 2.105 MB / 486.7 MB, free: 488 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02893/0.3578, allocations: 18.55 MB / 0.4934 GB, free: 13.87 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0596/0.4174, allocations: 28.39 MB / 0.5211 GB, free: 1.258 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01686/0.4343, allocations: 10.16 MB / 0.531 GB, free: 7.086 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4333/0.8676, allocations: 11.14 MB / 0.5419 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009927/0.8775, allocations: 2.919 MB / 0.5448 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01108/0.8886, allocations: 3.195 MB / 0.5479 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00885/0.8974, allocations: 5.49 MB / 0.5533 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0174/0.9148, allocations: 10.82 MB / 0.5638 GB, free: 29.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03843/0.9533, allocations: 39.1 MB / 0.602 GB, free: 5.523 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.9533, allocations: 0 / 0.602 GB, free: 5.523 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.9533, allocations: 0 / 0.602 GB, free: 5.523 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001028/0.9543, allocations: 6.438 kB / 0.602 GB, free: 5.523 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.06268/1.017, allocations: 22.24 MB / 0.6237 GB, free: 2.086 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/1.017, allocations: 12.03 kB / 0.6237 GB, free: 2.074 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04464/1.062, allocations: 8.241 MB / 0.6318 GB, free: 9.902 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02896/1.091, allocations: 11.89 MB / 0.6434 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001494/1.092, allocations: 1.338 MB / 0.6447 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00665/1.099, allocations: 1.752 MB / 0.6464 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0738/1.173, allocations: 28.77 MB / 0.6745 GB, free: 14.54 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007139/1.173, allocations: 23.56 kB / 0.6745 GB, free: 14.52 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005705/1.179, allocations: 0.7254 MB / 0.6752 GB, free: 13.8 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009965/1.18, allocations: 0.8454 MB / 0.6761 GB, free: 12.96 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05996/1.24, allocations: 24.83 MB / 0.7003 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.447/1.687, allocations: 86 MB / 0.7843 GB, free: 148 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02114/1.708, allocations: 12.87 MB / 0.7969 GB, free: 147.6 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009492/1.718, allocations: 5.036 MB / 0.8018 GB, free: 147.5 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007758/1.718, allocations: 181.7 kB / 0.802 GB, free: 147.4 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001196/1.719, allocations: 89.77 kB / 0.802 GB, free: 147.4 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=577): time 1.292e-05/1.719, allocations: 0 / 0.802 GB, free: 147.4 MB / 0.5763 GB Notification: Performance of matching and sorting (n=577): time 0.03593/1.754, allocations: 14.69 MB / 0.8164 GB, free: 144.3 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.832e-05/1.755, allocations: 146 kB / 0.8165 GB, free: 144.2 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01253/1.767, allocations: 6.425 MB / 0.8228 GB, free: 141.3 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001047/1.768, allocations: 115.8 kB / 0.8229 GB, free: 141.2 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.00441/1.773, allocations: 7.903 MB / 0.8306 GB, free: 134.4 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002901/1.775, allocations: 2.106 MB / 0.8327 GB, free: 132.6 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006073/1.782, allocations: 2.119 MB / 0.8348 GB, free: 131.4 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.551e-05/1.782, allocations: 301.1 kB / 0.835 GB, free: 131.1 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006879/1.788, allocations: 4.746 MB / 0.8397 GB, free: 128.5 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009187/1.798, allocations: 9.471 MB / 0.8489 GB, free: 119.6 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01634/1.814, allocations: 15.33 MB / 0.8639 GB, free: 103.9 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001711/1.814, allocations: 48 kB / 0.8639 GB, free: 103.8 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02474/1.839, allocations: 15.41 MB / 0.879 GB, free: 88.35 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001719/1.839, allocations: 72 kB / 0.8791 GB, free: 88.28 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002561/1.839, allocations: 160 kB / 0.8792 GB, free: 88.12 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005153/1.844, allocations: 1.661 MB / 0.8808 GB, free: 86.46 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007412/1.852, allocations: 2.36 MB / 0.8831 GB, free: 84.09 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0125/1.864, allocations: 11.52 MB / 0.8944 GB, free: 72.46 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007141/1.872, allocations: 1.374 MB / 0.8957 GB, free: 71.08 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001556/1.873, allocations: 0.539 MB / 0.8963 GB, free: 70.54 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.01063/1.884, allocations: 7.145 MB / 0.9032 GB, free: 63.38 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001408/1.885, allocations: 0.6442 MB / 0.9039 GB, free: 62.73 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01405/1.899, allocations: 10.07 MB / 0.9137 GB, free: 52.55 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009438/1.909, allocations: 7.765 MB / 0.9213 GB, free: 44.7 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.629e-05/1.909, allocations: 19.88 kB / 0.9213 GB, free: 44.68 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-05/1.909, allocations: 27.89 kB / 0.9213 GB, free: 44.65 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05633/1.965, allocations: 25.35 MB / 0.9461 GB, free: 19.17 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.313e-05/1.965, allocations: 8 kB / 0.9461 GB, free: 19.16 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006368/1.971, allocations: 1.022 MB / 0.9471 GB, free: 18.14 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007665/1.979, allocations: 1.462 MB / 0.9485 GB, free: 16.67 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001335/1.98, allocations: 140 kB / 0.9487 GB, free: 16.53 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01433/1.995, allocations: 11.06 MB / 0.9595 GB, free: 5.367 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/1.995, allocations: 19.88 kB / 0.9595 GB, free: 5.348 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02278/2.018, allocations: 14.14 MB / 0.9733 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004726/2.022, allocations: 1.451 MB / 0.9747 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00188/2.024, allocations: 112 kB / 0.9748 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004098/2.028, allocations: 315.6 kB / 0.9751 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001325/2.03, allocations: 428.1 kB / 0.9755 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007273/2.03, allocations: 176 kB / 0.9757 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.01046/2.041, allocations: 4.313 MB / 0.9799 GB, free: 116 kB / 0.5919 GB Notification: Performance of sort global known variables: time 4.91e-07/2.041, allocations: 0 / 0.9799 GB, free: 116 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.2954/2.336, allocations: 4.082 MB / 0.9839 GB, free: 187.8 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.001549/2.338, allocations: 315.7 kB / 0.9842 GB, free: 187.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01781/2.356, allocations: 10.95 MB / 0.9949 GB, free: 186.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/2.356, allocations: 5.875 kB / 0.9949 GB, free: 186.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007268/2.363, allocations: 4.343 MB / 0.9991 GB, free: 184.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007586/2.37, allocations: 1.556 MB / 1.001 GB, free: 184 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0562/2.427, allocations: 29.23 MB / 1.029 GB, free: 171.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02495/2.452, allocations: 10.9 MB / 1.04 GB, free: 164.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00307/2.455, allocations: 0.6181 MB / 1.04 GB, free: 164.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.132e-06/2.455, allocations: 4 kB / 1.04 GB, free: 164.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.5565/3.011, allocations: 285.7 MB / 1.319 GB, free: 97.01 MB / 0.5919 GB " [Timeout remaining time 657] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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: 20.902169999899343]