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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001589/0.001589, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001783/0.001783, allocations: 217.5 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 230.5 MB / 258.1 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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.001932/0.001932, allocations: 63.91 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2327, allocations: 53.41 MB / 432.5 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.05961/0.2923, allocations: 28.76 MB / 461.2 MB, free: 9.836 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02496/0.3173, allocations: 7.227 MB / 468.4 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007561/0.3249, allocations: 310.4 kB / 468.7 MB, free: 2.281 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05138/0.3762, allocations: 13.25 MB / 482 MB, free: 5.004 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01613/0.3924, allocations: 2.648 MB / 484.6 MB, free: 2.348 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0112/0.4036, allocations: 2.099 MB / 486.7 MB, free: 264 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04065/0.4442, allocations: 18.53 MB / 0.4934 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06515/0.5094, allocations: 28.38 MB / 0.5212 GB, free: 1.059 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01617/0.5255, allocations: 10.16 MB / 0.5311 GB, free: 6.887 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4177/0.9432, allocations: 11.15 MB / 0.542 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007038/0.9503, allocations: 2.92 MB / 0.5448 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009095/0.9594, allocations: 3.192 MB / 0.5479 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00804/0.9674, allocations: 5.492 MB / 0.5533 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01671/0.9841, allocations: 10.83 MB / 0.5639 GB, free: 28.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03398/1.018, allocations: 39.11 MB / 0.6021 GB, free: 5.273 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/1.018, allocations: 1.406 kB / 0.6021 GB, free: 5.273 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/1.018, allocations: 0 / 0.6021 GB, free: 5.273 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001174/1.019, allocations: 0 / 0.6021 GB, free: 5.273 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.06433/1.084, allocations: 22.24 MB / 0.6238 GB, free: 1.836 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/1.084, allocations: 8.031 kB / 0.6238 GB, free: 1.828 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04559/1.129, allocations: 8.246 MB / 0.6318 GB, free: 9.652 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02649/1.156, allocations: 11.88 MB / 0.6434 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001498/1.157, allocations: 1.339 MB / 0.6447 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006285/1.164, allocations: 1.748 MB / 0.6465 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0747/1.238, allocations: 28.77 MB / 0.6745 GB, free: 14.29 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008333/1.239, allocations: 23.84 kB / 0.6746 GB, free: 14.27 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006204/1.245, allocations: 0.7234 MB / 0.6753 GB, free: 13.55 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001007/1.246, allocations: 0.8454 MB / 0.6761 GB, free: 12.71 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05862/1.305, allocations: 24.84 MB / 0.7004 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.394/1.699, allocations: 85.99 MB / 0.7843 GB, free: 147.9 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01965/1.719, allocations: 12.87 MB / 0.7969 GB, free: 147.5 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007658/1.726, allocations: 5.043 MB / 0.8018 GB, free: 147.4 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006202/1.727, allocations: 180 kB / 0.802 GB, free: 147.4 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001089/1.727, allocations: 97.2 kB / 0.8021 GB, free: 147.3 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=577): time 1.472e-05/1.727, allocations: 0 / 0.8021 GB, free: 147.3 MB / 0.5763 GB Notification: Performance of matching and sorting (n=577): time 0.03402/1.761, allocations: 14.69 MB / 0.8164 GB, free: 144.2 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/1.761, allocations: 142.6 kB / 0.8166 GB, free: 144.1 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01247/1.773, allocations: 6.42 MB / 0.8228 GB, free: 140.9 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001198/1.775, allocations: 119.5 kB / 0.823 GB, free: 140.8 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004829/1.78, allocations: 7.898 MB / 0.8307 GB, free: 133.9 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002549/1.782, allocations: 2.105 MB / 0.8327 GB, free: 132.1 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004274/1.786, allocations: 2.121 MB / 0.8348 GB, free: 130.9 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.191e-05/1.786, allocations: 305.1 kB / 0.8351 GB, free: 130.6 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006248/1.793, allocations: 4.743 MB / 0.8397 GB, free: 128.1 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009146/1.802, allocations: 9.473 MB / 0.849 GB, free: 119.1 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01605/1.818, allocations: 15.33 MB / 0.8639 GB, free: 103.3 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002025/1.818, allocations: 44 kB / 0.864 GB, free: 103.3 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02351/1.842, allocations: 15.41 MB / 0.879 GB, free: 87.8 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 9.395e-05/1.842, allocations: 72 kB / 0.8791 GB, free: 87.73 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002091/1.842, allocations: 163.9 kB / 0.8793 GB, free: 87.57 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005223/1.847, allocations: 1.661 MB / 0.8809 GB, free: 85.91 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00768/1.855, allocations: 2.355 MB / 0.8832 GB, free: 83.55 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01274/1.867, allocations: 11.53 MB / 0.8944 GB, free: 71.91 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007692/1.875, allocations: 1.37 MB / 0.8958 GB, free: 70.53 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001697/1.877, allocations: 0.5351 MB / 0.8963 GB, free: 69.99 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.01062/1.887, allocations: 7.145 MB / 0.9033 GB, free: 62.83 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001231/1.889, allocations: 0.6442 MB / 0.9039 GB, free: 62.18 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01343/1.902, allocations: 10.07 MB / 0.9137 GB, free: 51.99 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009447/1.912, allocations: 7.765 MB / 0.9213 GB, free: 44.14 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.031e-05/1.912, allocations: 12.81 kB / 0.9213 GB, free: 44.13 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.961e-05/1.912, allocations: 31.83 kB / 0.9214 GB, free: 44.1 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.043/1.955, allocations: 25.36 MB / 0.9461 GB, free: 18.61 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.853e-05/1.955, allocations: 8 kB / 0.9461 GB, free: 18.61 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004073/1.959, allocations: 1.018 MB / 0.9471 GB, free: 17.59 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005087/1.964, allocations: 1.465 MB / 0.9486 GB, free: 16.12 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008921/1.965, allocations: 136 kB / 0.9487 GB, free: 15.98 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01263/1.977, allocations: 11.05 MB / 0.9595 GB, free: 4.824 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-06/1.977, allocations: 15.94 kB / 0.9595 GB, free: 4.809 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02327/2.001, allocations: 14.14 MB / 0.9733 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004466/2.005, allocations: 1.443 MB / 0.9747 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001757/2.007, allocations: 112 kB / 0.9748 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004052/2.011, allocations: 311.7 kB / 0.9751 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001293/2.012, allocations: 432.1 kB / 0.9755 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007664/2.013, allocations: 176 kB / 0.9757 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.2451/2.258, allocations: 4.303 MB / 0.9799 GB, free: 186.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.71e-07/2.258, allocations: 0.5 kB / 0.9799 GB, free: 186.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01312/2.271, allocations: 4.082 MB / 0.9839 GB, free: 185.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.001532/2.273, allocations: 329.3 kB / 0.9842 GB, free: 185.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01716/2.29, allocations: 10.95 MB / 0.9949 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.491e-05/2.29, allocations: 7.906 kB / 0.9949 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007449/2.297, allocations: 4.338 MB / 0.9992 GB, free: 182.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008511/2.306, allocations: 1.567 MB / 1.001 GB, free: 181.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05582/2.362, allocations: 29.24 MB / 1.029 GB, free: 169.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01613/2.378, allocations: 10.9 MB / 1.04 GB, free: 163.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002588/2.38, allocations: 0.6232 MB / 1.04 GB, free: 163.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.393e-06/2.38, allocations: 0 / 1.04 GB, free: 163.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.5785/2.959, allocations: 285.7 MB / 1.319 GB, free: 96.56 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 [Calling sys.exit(0), Time elapsed: 22.96722458000295]