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.001586/0.001586, allocations: 113 kB / 21.18 MB, free: 0.5898 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.001879/0.001879, allocations: 209.7 kB / 24.47 MB, free: 3.996 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.387/1.387, allocations: 230.4 MB / 258.1 MB, free: 8.137 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.001872/0.001872, allocations: 71.83 kB / 378.7 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2312, allocations: 53.32 MB / 432.1 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.03022/0.2614, allocations: 28.76 MB / 460.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01487/0.2763, allocations: 7.222 MB / 468 MB, free: 3.215 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005167/0.2815, allocations: 263.2 kB / 468.3 MB, free: 2.957 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0289/0.3104, allocations: 13.24 MB / 481.5 MB, free: 5.691 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009812/0.3202, allocations: 2.551 MB / 484.1 MB, free: 3.129 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006148/0.3263, allocations: 2.048 MB / 486.1 MB, free: 1.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02355/0.3499, allocations: 18.35 MB / 0.4927 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05078/0.4006, allocations: 26.94 MB / 0.519 GB, free: 3.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01545/0.4161, allocations: 9.954 MB / 0.5287 GB, free: 9.551 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4099/0.8259, allocations: 11.13 MB / 0.5396 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007097/0.833, allocations: 2.918 MB / 0.5424 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008938/0.842, allocations: 3.194 MB / 0.5455 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007897/0.8499, allocations: 5.492 MB / 0.5509 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01721/0.8671, allocations: 10.82 MB / 0.5615 GB, free: 28.01 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03601/0.9031, allocations: 39.11 MB / 0.5997 GB, free: 5.441 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.9031, allocations: 0 / 0.5997 GB, free: 5.441 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.9031, allocations: 0 / 0.5997 GB, free: 5.441 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001099/0.9042, allocations: 0 / 0.5997 GB, free: 5.441 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.06498/0.9692, allocations: 22.32 MB / 0.6215 GB, free: 3.52 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.9692, allocations: 12.03 kB / 0.6215 GB, free: 3.508 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04611/1.015, allocations: 8.239 MB / 0.6295 GB, free: 11.34 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02939/1.045, allocations: 11.68 MB / 0.6409 GB, free: 92 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001463/1.046, allocations: 1.34 MB / 0.6422 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006244/1.052, allocations: 1.76 MB / 0.6439 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06777/1.12, allocations: 28.76 MB / 0.672 GB, free: 216 kB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006499/1.121, allocations: 27.89 kB / 0.6721 GB, free: 188 kB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004894/1.126, allocations: 0.7293 MB / 0.6728 GB, free: 15.48 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009389/1.127, allocations: 0.8453 MB / 0.6736 GB, free: 14.63 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05238/1.179, allocations: 24.83 MB / 0.6978 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3672/1.546, allocations: 87.5 MB / 0.7833 GB, free: 148.3 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02129/1.568, allocations: 34.59 MB / 0.8171 GB, free: 120.8 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007094/1.575, allocations: 5.058 MB / 0.822 GB, free: 120.7 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004523/1.575, allocations: 327.5 kB / 0.8223 GB, free: 120.5 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.033e-05/1.575, allocations: 98.83 kB / 0.8224 GB, free: 120.5 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=577): time 7.043e-06/1.575, allocations: 0 / 0.8224 GB, free: 120.5 MB / 0.5763 GB Notification: Performance of matching and sorting (n=577): time 0.02769/1.603, allocations: 14.76 MB / 0.8368 GB, free: 117.4 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/1.603, allocations: 150.1 kB / 0.837 GB, free: 117.3 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007361/1.61, allocations: 6.421 MB / 0.8432 GB, free: 115.1 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0006867/1.611, allocations: 123.2 kB / 0.8434 GB, free: 114.9 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003301/1.614, allocations: 7.901 MB / 0.8511 GB, free: 108.1 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001681/1.616, allocations: 2.107 MB / 0.8531 GB, free: 106.3 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002511/1.618, allocations: 2.115 MB / 0.8552 GB, free: 105.1 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 3.667e-05/1.619, allocations: 305.1 kB / 0.8555 GB, free: 104.8 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005354/1.624, allocations: 4.744 MB / 0.8601 GB, free: 102.2 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007205/1.631, allocations: 9.47 MB / 0.8694 GB, free: 93.21 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01316/1.644, allocations: 15.33 MB / 0.8843 GB, free: 76.86 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001346/1.644, allocations: 44 kB / 0.8844 GB, free: 76.81 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.01945/1.664, allocations: 15.41 MB / 0.8994 GB, free: 61.32 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 8.075e-05/1.664, allocations: 78.66 kB / 0.8995 GB, free: 61.24 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001773/1.664, allocations: 160 kB / 0.8997 GB, free: 61.09 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004546/1.669, allocations: 1.661 MB / 0.9013 GB, free: 59.42 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006923/1.676, allocations: 2.359 MB / 0.9036 GB, free: 57.05 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01168/1.687, allocations: 11.62 MB / 0.9149 GB, free: 45.31 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006965/1.694, allocations: 1.378 MB / 0.9163 GB, free: 43.92 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001424/1.696, allocations: 0.5351 MB / 0.9168 GB, free: 43.39 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.009535/1.705, allocations: 7.141 MB / 0.9238 GB, free: 36.23 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001111/1.706, allocations: 0.6481 MB / 0.9244 GB, free: 35.57 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01232/1.719, allocations: 10.07 MB / 0.9342 GB, free: 25.39 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008937/1.728, allocations: 7.762 MB / 0.9418 GB, free: 17.55 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.961e-05/1.728, allocations: 15.94 kB / 0.9418 GB, free: 17.53 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.603e-05/1.728, allocations: 27.89 kB / 0.9419 GB, free: 17.5 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04218/1.77, allocations: 25.69 MB / 0.967 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.149e-05/1.77, allocations: 8 kB / 0.967 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004002/1.774, allocations: 1.026 MB / 0.968 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004972/1.779, allocations: 1.458 MB / 0.9694 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004444/1.779, allocations: 136 kB / 0.9695 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2339/2.013, allocations: 11.16 MB / 0.9804 GB, free: 186.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/2.013, allocations: 16.06 kB / 0.9804 GB, free: 186.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01693/2.03, allocations: 14.14 MB / 0.9942 GB, free: 181.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003369/2.033, allocations: 1.476 MB / 0.9957 GB, free: 180.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009445/2.034, allocations: 113.1 kB / 0.9958 GB, free: 180.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002744/2.037, allocations: 323.2 kB / 0.9961 GB, free: 180.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006831/2.038, allocations: 405.4 kB / 0.9965 GB, free: 180.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003036/2.038, allocations: 177 kB / 0.9966 GB, free: 180.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006363/2.044, allocations: 4.308 MB / 1.001 GB, free: 178.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.71e-07/2.044, allocations: 0 / 1.001 GB, free: 178.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01227/2.057, allocations: 4.086 MB / 1.005 GB, free: 177.2 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.001224/2.058, allocations: 329.7 kB / 1.005 GB, free: 177 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01442/2.072, allocations: 10.94 MB / 1.016 GB, free: 172.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/2.072, allocations: 10.47 kB / 1.016 GB, free: 172.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006086/2.078, allocations: 4.331 MB / 1.02 GB, free: 171.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00707/2.086, allocations: 1.574 MB / 1.022 GB, free: 170.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04359/2.129, allocations: 29.24 MB / 1.05 GB, free: 149.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01058/2.14, allocations: 10.89 MB / 1.061 GB, free: 140.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002173/2.142, allocations: 0.6263 MB / 1.061 GB, free: 140.2 MB / 0.5919 GB Notification: Performance of SimCode: time 1.293e-06/2.142, allocations: 4 kB / 1.061 GB, free: 140.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.5245/2.666, allocations: 285.6 MB / 1.34 GB, free: 68.29 MB / 0.5919 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_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: 21.807390097994357]