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.001241/0.001241, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001381/0.001381, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.614/1.614, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.002083/0.002083, allocations: 71.83 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2992, allocations: 53.31 MB / 432 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.0334/0.3326, allocations: 28.76 MB / 460.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01592/0.3485, allocations: 7.227 MB / 468 MB, free: 3.262 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006632/0.3552, allocations: 263.2 kB / 468.3 MB, free: 3.004 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0308/0.386, allocations: 13.23 MB / 481.5 MB, free: 5.746 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01169/0.3977, allocations: 2.559 MB / 484.1 MB, free: 3.176 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007071/0.4047, allocations: 2.049 MB / 486.1 MB, free: 1.141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02478/0.4295, allocations: 18.34 MB / 0.4927 GB, free: 14.74 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05848/0.488, allocations: 26.94 MB / 0.519 GB, free: 3.582 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01607/0.5041, allocations: 9.965 MB / 0.5287 GB, free: 9.605 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4673/0.9714, allocations: 11.13 MB / 0.5396 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008536/0.9799, allocations: 2.917 MB / 0.5424 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01028/0.9902, allocations: 3.201 MB / 0.5455 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009056/0.9992, allocations: 5.494 MB / 0.5509 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02223/1.021, allocations: 10.82 MB / 0.5615 GB, free: 28.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04334/1.065, allocations: 39.1 MB / 0.5997 GB, free: 5.516 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/1.065, allocations: 3.562 kB / 0.5997 GB, free: 5.516 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.394e-06/1.065, allocations: 3.812 kB / 0.5997 GB, free: 5.516 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001277/1.066, allocations: 3.75 kB / 0.5997 GB, free: 5.516 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.0715/1.138, allocations: 22.31 MB / 0.6215 GB, free: 3.637 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/1.138, allocations: 12.03 kB / 0.6215 GB, free: 3.625 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04744/1.185, allocations: 8.238 MB / 0.6295 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02879/1.214, allocations: 11.68 MB / 0.6409 GB, free: 208 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001434/1.215, allocations: 1.337 MB / 0.6422 GB, free: 14.87 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006648/1.222, allocations: 1.757 MB / 0.6439 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07958/1.302, allocations: 28.77 MB / 0.672 GB, free: 336 kB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005829/1.302, allocations: 19.91 kB / 0.672 GB, free: 316 kB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005864/1.308, allocations: 0.7247 MB / 0.6728 GB, free: 15.59 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001019/1.309, allocations: 0.8453 MB / 0.6736 GB, free: 14.75 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05965/1.369, allocations: 24.84 MB / 0.6978 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4868/1.855, allocations: 87.51 MB / 0.7833 GB, free: 107.8 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02691/1.882, allocations: 34.59 MB / 0.8171 GB, free: 80.3 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009196/1.892, allocations: 5.047 MB / 0.822 GB, free: 80.2 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007178/1.892, allocations: 327.3 kB / 0.8223 GB, free: 80 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001044/1.892, allocations: 101.4 kB / 0.8224 GB, free: 79.95 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=577): time 1.172e-05/1.892, allocations: 0 / 0.8224 GB, free: 79.95 MB / 0.5763 GB Notification: Performance of matching and sorting (n=577): time 0.03495/1.927, allocations: 14.76 MB / 0.8368 GB, free: 79.14 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.585e-05/1.927, allocations: 141.1 kB / 0.837 GB, free: 79.04 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01301/1.94, allocations: 6.427 MB / 0.8432 GB, free: 77.98 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001256/1.942, allocations: 119.9 kB / 0.8434 GB, free: 77.95 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.005212/1.947, allocations: 7.888 MB / 0.8511 GB, free: 72.41 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002905/1.95, allocations: 2.121 MB / 0.8531 GB, free: 70.67 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006975/1.957, allocations: 2.117 MB / 0.8552 GB, free: 69.46 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.817e-05/1.957, allocations: 305.1 kB / 0.8555 GB, free: 69.16 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00758/1.964, allocations: 4.739 MB / 0.8601 GB, free: 66.64 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01043/1.975, allocations: 9.472 MB / 0.8694 GB, free: 57.71 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01882/1.994, allocations: 15.33 MB / 0.8843 GB, free: 44.22 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002072/1.994, allocations: 48 kB / 0.8844 GB, free: 44.18 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.0291/2.023, allocations: 15.41 MB / 0.8994 GB, free: 29.67 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002961/2.023, allocations: 72 kB / 0.8995 GB, free: 29.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004333/2.024, allocations: 160 kB / 0.8997 GB, free: 29.44 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005666/2.029, allocations: 1.653 MB / 0.9013 GB, free: 27.78 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008692/2.038, allocations: 2.363 MB / 0.9036 GB, free: 25.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01447/2.053, allocations: 11.62 MB / 0.9149 GB, free: 13.94 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009689/2.062, allocations: 1.381 MB / 0.9163 GB, free: 12.55 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00245/2.065, allocations: 0.5312 MB / 0.9168 GB, free: 12.02 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.01336/2.078, allocations: 7.142 MB / 0.9238 GB, free: 5.043 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001826/2.08, allocations: 0.6445 MB / 0.9244 GB, free: 4.398 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01804/2.098, allocations: 10.07 MB / 0.9342 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01345/2.111, allocations: 7.769 MB / 0.9418 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.587e-05/2.111, allocations: 12 kB / 0.9418 GB, free: 2.434 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.168e-05/2.111, allocations: 27.89 kB / 0.9419 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06449/2.176, allocations: 25.7 MB / 0.967 GB, free: 8.621 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-05/2.176, allocations: 8 kB / 0.967 GB, free: 8.613 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004849/2.181, allocations: 1.014 MB / 0.968 GB, free: 7.648 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005329/2.186, allocations: 1.469 MB / 0.9694 GB, free: 6.176 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008364/2.187, allocations: 132 kB / 0.9695 GB, free: 6.047 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01691/2.204, allocations: 11.16 MB / 0.9804 GB, free: 10.79 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.648e-05/2.204, allocations: 16.7 kB / 0.9804 GB, free: 10.77 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3065/2.51, allocations: 14.13 MB / 0.9942 GB, free: 232.3 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004551/2.515, allocations: 1.475 MB / 0.9957 GB, free: 232.2 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001578/2.516, allocations: 114.9 kB / 0.9958 GB, free: 232.2 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003975/2.52, allocations: 320.6 kB / 0.9961 GB, free: 232.2 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008665/2.521, allocations: 410.4 kB / 0.9965 GB, free: 232.2 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003721/2.522, allocations: 177.5 kB / 0.9966 GB, free: 232.2 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.007611/2.529, allocations: 4.305 MB / 1.001 GB, free: 231.7 MB / 0.6388 GB Notification: Performance of sort global known variables: time 1.6e-07/2.529, allocations: 0 / 1.001 GB, free: 231.7 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.01368/2.543, allocations: 4.083 MB / 1.005 GB, free: 230.4 MB / 0.6388 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.001824/2.545, allocations: 329.6 kB / 1.005 GB, free: 230.2 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01772/2.563, allocations: 10.95 MB / 1.016 GB, free: 226.1 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/2.563, allocations: 3.5 kB / 1.016 GB, free: 226.1 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.006417/2.569, allocations: 4.345 MB / 1.02 GB, free: 224.4 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007445/2.576, allocations: 1.566 MB / 1.022 GB, free: 223.9 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05447/2.631, allocations: 29.84 MB / 1.051 GB, free: 211 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02168/2.653, allocations: 11.26 MB / 1.062 GB, free: 202.3 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.009487/2.662, allocations: 3.77 MB / 1.065 GB, free: 199.9 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002183/2.664, allocations: 0.5485 MB / 1.066 GB, free: 199.3 MB / 0.6388 GB Notification: Performance of SimCode: time 9.32e-07/2.664, allocations: 0 / 1.066 GB, free: 199.3 MB / 0.6388 GB Notification: Performance of Templates: time 0.1541/2.818, allocations: 98.64 MB / 1.162 GB, free: 104.2 MB / 0.6388 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 -s cvode -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.540604175068438]