Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.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.001292/0.001292, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001981/0.003273, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.001151/0.001151, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001733/0.002883, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.994/0.994, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1539/1.148, allocations: 49.49 MB / 220.7 MB, free: 1.363 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 222 MB, free: 28 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.524e-05/2.648e-05, allocations: 2.312 kB / 222 MB, free: 24 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.003978/0.004004, allocations: 3.985 MB / 226 MB, free: 12.01 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002047/0.006051, allocations: 0.943 MB / 227 MB, free: 11.05 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003435/0.006394, allocations: 11.94 kB / 227 MB, free: 11.04 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000204/0.006598, allocations: 95.06 kB / 227.1 MB, free: 10.95 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003951/0.006993, allocations: 198.2 kB / 227.3 MB, free: 10.75 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003047/0.007298, allocations: 143.8 kB / 227.4 MB, free: 10.61 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006324/0.007931, allocations: 0.6924 MB / 228.1 MB, free: 9.918 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/0.008148, allocations: 144.3 kB / 228.2 MB, free: 9.777 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005221/0.00867, allocations: 460.1 kB / 228.7 MB, free: 9.324 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004795/0.00915, allocations: 219.3 kB / 228.9 MB, free: 9.109 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.921e-05/0.009219, allocations: 56 kB / 228.9 MB, free: 9.055 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.774e-05/0.009286, allocations: 56 kB / 229 MB, free: 9 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.701e-05/0.009353, allocations: 95.62 kB / 229.1 MB, free: 8.906 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.009497, allocations: 171.7 kB / 229.3 MB, free: 8.738 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004492/0.009946, allocations: 398.5 kB / 229.6 MB, free: 8.348 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.492e-05/0.009961, allocations: 3.938 kB / 229.7 MB, free: 8.344 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.009962, allocations: 0 / 229.7 MB, free: 8.344 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.009981, allocations: 0 / 229.7 MB, free: 8.344 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001034/0.01101, allocations: 0.9006 MB / 230.6 MB, free: 7.418 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.01105, allocations: 8.031 kB / 230.6 MB, free: 7.41 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.01115, allocations: 88.84 kB / 230.6 MB, free: 7.324 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.01148, allocations: 249.5 kB / 230.9 MB, free: 7.055 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.0115, allocations: 37.38 kB / 230.9 MB, free: 7.02 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.977e-05/0.01156, allocations: 48.38 kB / 231 MB, free: 6.973 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005045/0.01207, allocations: 0.5065 MB / 231.5 MB, free: 6.406 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.01208, allocations: 4.188 kB / 231.5 MB, free: 6.402 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.034e-05/0.01211, allocations: 20.38 kB / 231.5 MB, free: 6.383 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.01213, allocations: 15.94 kB / 231.5 MB, free: 6.367 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001905/0.01232, allocations: 128 kB / 231.6 MB, free: 6.25 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.01395, allocations: 1.228 MB / 232.9 MB, free: 4.961 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.01418, allocations: 185 kB / 233.1 MB, free: 4.762 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.794e-05/0.01425, allocations: 77.61 kB / 233.1 MB, free: 4.68 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.01427, allocations: 7.938 kB / 233.1 MB, free: 4.672 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.01429, allocations: 38.56 kB / 233.2 MB, free: 4.625 MB / 234.7 MB Notification: Performance of pre-optimization done (n=31): time 1.843e-06/0.0143, allocations: 0 / 233.2 MB, free: 4.625 MB / 234.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009302/0.01523, allocations: 0.4891 MB / 233.7 MB, free: 4.098 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.01526, allocations: 85.09 kB / 233.7 MB, free: 3.996 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.01548, allocations: 323.3 kB / 234.1 MB, free: 3.668 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.0155, allocations: 37.69 kB / 234.1 MB, free: 3.625 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.01561, allocations: 264.7 kB / 234.4 MB, free: 3.363 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.866e-05/0.01567, allocations: 115 kB / 234.5 MB, free: 3.25 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.423e-05/0.01574, allocations: 82.16 kB / 234.6 MB, free: 3.164 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.686e-05/0.01584, allocations: 354.7 kB / 234.9 MB, free: 2.809 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.768e-05/0.01589, allocations: 32.98 kB / 234.9 MB, free: 2.777 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.845e-05/0.01597, allocations: 131.2 kB / 235.1 MB, free: 2.609 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.01615, allocations: 221.8 kB / 235.3 MB, free: 2.355 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.01615, allocations: 0 / 235.3 MB, free: 2.355 MB / 234.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003006/0.01645, allocations: 274.8 kB / 235.5 MB, free: 2.074 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.01647, allocations: 8 kB / 235.6 MB, free: 2.066 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.01647, allocations: 4 kB / 235.6 MB, free: 2.062 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002936/0.01677, allocations: 97.88 kB / 235.7 MB, free: 1.961 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000446/0.01721, allocations: 87.89 kB / 235.7 MB, free: 1.875 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.01852, allocations: 2.612 MB / 238.3 MB, free: 15.09 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.01865, allocations: 19.95 kB / 238.4 MB, free: 15.07 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.01866, allocations: 8 kB / 238.4 MB, free: 15.06 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.314e-05/0.01875, allocations: 141.7 kB / 238.5 MB, free: 14.91 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.794e-05/0.0188, allocations: 35.97 kB / 238.5 MB, free: 14.88 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.674e-05/0.01884, allocations: 43.27 kB / 238.6 MB, free: 14.83 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01884, allocations: 8.062 kB / 238.6 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.01885, allocations: 0 / 238.6 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.01885, allocations: 15.86 kB / 238.6 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005692/0.01942, allocations: 0.5502 MB / 239.2 MB, free: 14.22 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01942, allocations: 0 / 239.2 MB, free: 14.22 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.01954, allocations: 59.91 kB / 239.2 MB, free: 14.16 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.569e-05/0.01957, allocations: 31.7 kB / 239.3 MB, free: 14.13 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002355/0.01981, allocations: 113.6 kB / 239.4 MB, free: 14.02 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.01982, allocations: 4 kB / 239.4 MB, free: 14.01 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.021, allocations: 2.612 MB / 242 MB, free: 11.23 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.021, allocations: 0 / 242 MB, free: 11.23 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003288/0.02133, allocations: 431.6 kB / 242.4 MB, free: 10.79 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.02136, allocations: 8 kB / 242.4 MB, free: 10.78 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.0215, allocations: 32.02 kB / 242.4 MB, free: 10.75 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/0.02155, allocations: 27.94 kB / 242.5 MB, free: 10.72 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.02156, allocations: 4 kB / 242.5 MB, free: 10.71 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.953e-05/0.02166, allocations: 136.7 kB / 242.6 MB, free: 10.58 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.02166, allocations: 0 / 242.6 MB, free: 10.58 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003419/0.022, allocations: 116 kB / 242.7 MB, free: 10.47 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001029/0.02211, allocations: 88.36 kB / 242.8 MB, free: 10.38 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006594/0.02277, allocations: 423 kB / 243.2 MB, free: 9.938 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.662e-05/0.02278, allocations: 8 kB / 243.2 MB, free: 9.93 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002703/0.02305, allocations: 370.7 kB / 243.6 MB, free: 9.539 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.02348, allocations: 446.4 kB / 244 MB, free: 9.031 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003564/0.02704, allocations: 0.9048 MB / 244.9 MB, free: 8.094 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.053e-05/0.02713, allocations: 125.7 kB / 245.1 MB, free: 7.945 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001313/0.02727, allocations: 47.25 kB / 245.1 MB, free: 7.895 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.02743, allocations: 131.2 kB / 245.2 MB, free: 7.766 MB / 250.7 MB Notification: Performance of SimCode: time 1.442e-06/0.02743, allocations: 0 / 245.2 MB, free: 7.766 MB / 250.7 MB Notification: Performance of Templates: time 0.008084/0.03552, allocations: 5.027 MB / 250.3 MB, free: 2.762 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1150645902380347]