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.002515/0.002515, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 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.002918/0.002918, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 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.579/1.579, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 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 1.774e-06/1.774e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/2.934e-05, allocations: 2.312 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.1893/0.1893, allocations: 27.46 MB / 299.7 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0131/0.2024, allocations: 7.184 MB / 306.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005303/0.2077, allocations: 315.7 kB / 307.2 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0254/0.2331, allocations: 14.01 MB / 321.2 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01062/0.2437, allocations: 2.677 MB / 323.8 MB, free: 14.81 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006575/0.2503, allocations: 2.07 MB / 325.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.02807/0.2784, allocations: 19.09 MB / 345 MB, free: 9.738 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.057/0.3354, allocations: 28.21 MB / 373.2 MB, free: 13.3 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03119/0.3666, allocations: 15.26 MB / 388.5 MB, free: 14.04 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02181/0.3884, allocations: 10.93 MB / 399.4 MB, free: 3.094 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.008333/0.3967, allocations: 2.918 MB / 402.3 MB, free: 180 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01247/0.4092, allocations: 3.21 MB / 405.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01052/0.4197, allocations: 5.677 MB / 411.2 MB, free: 7.273 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01966/0.4394, allocations: 7.33 MB / 418.5 MB, free: 15.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2936/0.7329, allocations: 39.77 MB / 458.3 MB, free: 60.92 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.7329, allocations: 3.625 kB / 458.3 MB, free: 60.92 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.563e-06/0.7329, allocations: 0 / 458.3 MB, free: 60.92 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.001075/0.734, allocations: 0.7812 kB / 458.3 MB, free: 60.92 MB / 378.8 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.06924/0.8032, allocations: 25.69 MB / 484 MB, free: 46.99 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.8033, allocations: 11.8 kB / 484 MB, free: 46.98 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04892/0.8522, allocations: 10.67 MB / 494.7 MB, free: 41.46 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02635/0.8785, allocations: 11.13 MB / 0.494 GB, free: 30.84 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009652/0.8795, allocations: 1.349 MB / 0.4953 GB, free: 29.5 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008665/0.8882, allocations: 1.761 MB / 0.497 GB, free: 27.75 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07383/0.962, allocations: 30.01 MB / 0.5263 GB, free: 13.63 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005089/0.9625, allocations: 15.91 kB / 0.5263 GB, free: 13.61 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006359/0.9689, allocations: 0.7263 MB / 0.527 GB, free: 12.9 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001033/0.9699, allocations: 0.8454 MB / 0.5279 GB, free: 12.05 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0585/1.028, allocations: 22.29 MB / 0.5496 GB, free: 5.738 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3442/1.373, allocations: 160.5 MB / 0.7063 GB, free: 39.54 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.018/1.391, allocations: 12.18 MB / 0.7182 GB, free: 29.4 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007204/1.398, allocations: 4.567 MB / 0.7227 GB, free: 24.82 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004903/1.398, allocations: 180.4 kB / 0.7229 GB, free: 24.64 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.893e-05/1.398, allocations: 97.91 kB / 0.723 GB, free: 24.53 MB / 442.8 MB Notification: Performance of pre-optimization done (n=577): time 9.468e-06/1.398, allocations: 0 / 0.723 GB, free: 24.53 MB / 442.8 MB Notification: Performance of matching and sorting (n=577): time 0.03018/1.429, allocations: 13.35 MB / 0.736 GB, free: 11.1 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.335e-05/1.429, allocations: 137.6 kB / 0.7361 GB, free: 10.94 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01243/1.441, allocations: 9.813 MB / 0.7457 GB, free: 1.215 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009426/1.442, allocations: 121.7 kB / 0.7458 GB, free: 1.09 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.008908/1.451, allocations: 8.853 MB / 0.7545 GB, free: 8.301 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003833/1.455, allocations: 2.301 MB / 0.7567 GB, free: 6.027 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005353/1.46, allocations: 2.839 MB / 0.7595 GB, free: 3.176 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.000252/1.46, allocations: 476.8 kB / 0.7599 GB, free: 2.707 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.169/1.629, allocations: 4.029 MB / 0.7639 GB, free: 126.1 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01307/1.642, allocations: 11.61 MB / 0.7752 GB, free: 117.3 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0168/1.659, allocations: 17.39 MB / 0.7922 GB, free: 107.9 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002698/1.659, allocations: 43.28 kB / 0.7922 GB, free: 107.9 MB / 458.8 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02469/1.684, allocations: 14.58 MB / 0.8065 GB, free: 106.4 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002196/1.684, allocations: 74.06 kB / 0.8066 GB, free: 106.4 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003428/1.685, allocations: 161.8 kB / 0.8067 GB, free: 106.4 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007106/1.692, allocations: 1.972 MB / 0.8086 GB, free: 106.3 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007975/1.7, allocations: 2.365 MB / 0.8109 GB, free: 106.1 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01406/1.714, allocations: 11.96 MB / 0.8226 GB, free: 104 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007923/1.722, allocations: 1.358 MB / 0.8239 GB, free: 103.7 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001598/1.723, allocations: 0.533 MB / 0.8245 GB, free: 103.7 MB / 458.8 MB 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.01035/1.734, allocations: 6.636 MB / 0.8309 GB, free: 100.4 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001611/1.735, allocations: 0.8098 MB / 0.8317 GB, free: 100 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0143/1.75, allocations: 9.546 MB / 0.8411 GB, free: 94.11 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009645/1.759, allocations: 6.745 MB / 0.8476 GB, free: 87.28 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.243e-05/1.759, allocations: 12.62 kB / 0.8477 GB, free: 87.27 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.872e-05/1.759, allocations: 27.89 kB / 0.8477 GB, free: 87.24 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04711/1.806, allocations: 28.31 MB / 0.8753 GB, free: 58.7 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.966e-05/1.807, allocations: 8 kB / 0.8753 GB, free: 58.69 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0037/1.81, allocations: 1.01 MB / 0.8763 GB, free: 57.68 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006349/1.817, allocations: 1.78 MB / 0.8781 GB, free: 55.9 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005266/1.817, allocations: 136 kB / 0.8782 GB, free: 55.77 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01209/1.829, allocations: 11.5 MB / 0.8894 GB, free: 44.15 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/1.829, allocations: 11.94 kB / 0.8894 GB, free: 44.14 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01579/1.845, allocations: 12.33 MB / 0.9015 GB, free: 31.41 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003592/1.849, allocations: 1.279 MB / 0.9027 GB, free: 30.12 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001087/1.85, allocations: 115.6 kB / 0.9028 GB, free: 30.01 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00293/1.853, allocations: 315.7 kB / 0.9031 GB, free: 29.7 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000746/1.853, allocations: 428.2 kB / 0.9036 GB, free: 29.28 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003342/1.854, allocations: 179.9 kB / 0.9037 GB, free: 29.1 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.006458/1.86, allocations: 4.808 MB / 0.9084 GB, free: 24.32 MB / 458.8 MB Notification: Performance of sort global known variables: time 8.1e-08/1.86, allocations: 0 / 0.9084 GB, free: 24.32 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01132/1.871, allocations: 4.11 MB / 0.9124 GB, free: 20.2 MB / 458.8 MB 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.001109/1.873, allocations: 326 kB / 0.9127 GB, free: 19.88 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01561/1.888, allocations: 11.05 MB / 0.9235 GB, free: 8.777 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.475e-05/1.888, allocations: 4 kB / 0.9235 GB, free: 8.773 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.1614/2.05, allocations: 4.311 MB / 0.9277 GB, free: 118.3 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007475/2.057, allocations: 1.49 MB / 0.9292 GB, free: 118.2 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04734/2.104, allocations: 27.81 MB / 0.9564 GB, free: 109.3 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01237/2.117, allocations: 9.788 MB / 0.9659 GB, free: 108.5 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.007407/2.124, allocations: 3.197 MB / 0.969 GB, free: 108.2 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001509/2.126, allocations: 0.5479 MB / 0.9696 GB, free: 108.2 MB / 458.8 MB Notification: Performance of SimCode: time 1.262e-06/2.126, allocations: 0 / 0.9696 GB, free: 108.2 MB / 458.8 MB Notification: Performance of Templates: time 0.1384/2.264, allocations: 90.1 MB / 1.058 GB, free: 28.23 MB / 458.8 MB " [Timeout remaining time 658] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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_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: 9.841414505965076]