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.001336/0.001336, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002334/0.00367, allocations: 445.7 kB / 10.37 MB, free: 328 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.0008428/0.0008428, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001143/0.001985, allocations: 463.6 kB / 11.71 MB, free: 2.453 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.9236/0.9236, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1489/1.073, allocations: 49.49 MB / 220.5 MB, free: 1.453 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 2.094e-06/2.094e-06, allocations: 0 / 221.9 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.432e-05, allocations: 10.25 kB / 221.9 MB, free: 136 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005622/0.005646, allocations: 3.982 MB / 225.9 MB, free: 12.12 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002177/0.007823, allocations: 0.943 MB / 226.8 MB, free: 11.17 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003508/0.008174, allocations: 8 kB / 226.8 MB, free: 11.16 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002263/0.0084, allocations: 95.06 kB / 226.9 MB, free: 11.07 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004943/0.008894, allocations: 202.2 kB / 227.1 MB, free: 10.87 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004079/0.009302, allocations: 139.8 kB / 227.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00081/0.01011, allocations: 0.6925 MB / 227.9 MB, free: 10.04 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002856/0.0104, allocations: 140.3 kB / 228.1 MB, free: 9.898 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007025/0.0111, allocations: 468 kB / 228.5 MB, free: 9.438 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003574/0.01146, allocations: 223.3 kB / 228.7 MB, free: 9.219 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 9.253e-05/0.01155, allocations: 52 kB / 228.8 MB, free: 9.168 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.698e-05/0.01164, allocations: 56 kB / 228.8 MB, free: 9.113 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.587e-05/0.01172, allocations: 91.69 kB / 228.9 MB, free: 9.023 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.01193, allocations: 175.6 kB / 229.1 MB, free: 8.852 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005596/0.01249, allocations: 398.5 kB / 229.5 MB, free: 8.461 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.306e-05/0.01251, allocations: 0 / 229.5 MB, free: 8.461 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.01252, allocations: 0 / 229.5 MB, free: 8.461 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.025e-05/0.01255, allocations: 0 / 229.5 MB, free: 8.461 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.001287/0.01383, allocations: 0.9006 MB / 230.4 MB, free: 7.535 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.01387, allocations: 8.031 kB / 230.4 MB, free: 7.527 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.014, allocations: 92.86 kB / 230.5 MB, free: 7.438 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.0143, allocations: 237.5 kB / 230.7 MB, free: 7.18 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.01432, allocations: 37.38 kB / 230.8 MB, free: 7.145 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.761e-05/0.01437, allocations: 48.38 kB / 230.8 MB, free: 7.098 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003798/0.01475, allocations: 0.522 MB / 231.3 MB, free: 6.512 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.01476, allocations: 192 / 231.3 MB, free: 6.512 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.01478, allocations: 20.38 kB / 231.3 MB, free: 6.492 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.01479, allocations: 15.94 kB / 231.4 MB, free: 6.477 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.01493, allocations: 128 kB / 231.5 MB, free: 6.352 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.01615, allocations: 1.22 MB / 232.7 MB, free: 5.07 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.01634, allocations: 193 kB / 232.9 MB, free: 4.863 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.142e-05/0.01641, allocations: 77.92 kB / 233 MB, free: 4.781 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.01643, allocations: 8 kB / 233 MB, free: 4.773 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.01645, allocations: 34.56 kB / 233 MB, free: 4.73 MB / 234.7 MB Notification: Performance of pre-optimization done (n=31): time 1.553e-06/0.01645, allocations: 0 / 233 MB, free: 4.73 MB / 234.7 MB Notification: Performance of matching and sorting (n=32): time 0.0007387/0.01719, allocations: 0.4929 MB / 233.5 MB, free: 4.199 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.01722, allocations: 85.09 kB / 233.6 MB, free: 4.098 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.0174, allocations: 327.3 kB / 233.9 MB, free: 3.766 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.01741, allocations: 29.7 kB / 233.9 MB, free: 3.73 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.397e-05/0.0175, allocations: 260.7 kB / 234.2 MB, free: 3.473 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.491e-05/0.01756, allocations: 119 kB / 234.3 MB, free: 3.355 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.977e-05/0.01763, allocations: 78.14 kB / 234.4 MB, free: 3.273 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.159e-05/0.01771, allocations: 354.7 kB / 234.7 MB, free: 2.918 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.943e-05/0.01775, allocations: 32.98 kB / 234.8 MB, free: 2.887 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.838e-05/0.01783, allocations: 135.2 kB / 234.9 MB, free: 2.719 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.01797, allocations: 201.9 kB / 235.1 MB, free: 2.484 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.01797, allocations: 3.984 kB / 235.1 MB, free: 2.48 MB / 234.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000273/0.01825, allocations: 266.9 kB / 235.4 MB, free: 2.207 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.01826, allocations: 4 kB / 235.4 MB, free: 2.203 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.01827, allocations: 4 kB / 235.4 MB, free: 2.199 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002713/0.01854, allocations: 109.8 kB / 235.5 MB, free: 2.086 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.01871, allocations: 83.91 kB / 235.6 MB, free: 2.004 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.01995, allocations: 2.616 MB / 238.2 MB, free: 15.21 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.02006, allocations: 15.94 kB / 238.2 MB, free: 15.2 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.02007, allocations: 19.94 kB / 238.2 MB, free: 15.18 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 8.952e-05/0.02016, allocations: 133.7 kB / 238.3 MB, free: 15.04 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/0.02021, allocations: 35.97 kB / 238.4 MB, free: 15 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.771e-05/0.02024, allocations: 51.34 kB / 238.4 MB, free: 14.95 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.02025, allocations: 4 kB / 238.4 MB, free: 14.95 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.02025, allocations: 4 kB / 238.4 MB, free: 14.94 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.02026, allocations: 0 / 238.4 MB, free: 14.94 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005278/0.02078, allocations: 0.5579 MB / 239 MB, free: 14.35 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.02079, allocations: 4 kB / 239 MB, free: 14.35 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.02089, allocations: 55.91 kB / 239 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.77e-05/0.02093, allocations: 39.7 kB / 239.1 MB, free: 14.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002249/0.02115, allocations: 101.7 kB / 239.2 MB, free: 14.15 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.02116, allocations: 4 kB / 239.2 MB, free: 14.14 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.02228, allocations: 2.605 MB / 241.8 MB, free: 11.37 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.02228, allocations: 7.938 kB / 241.8 MB, free: 11.36 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.02258, allocations: 419.7 kB / 242.2 MB, free: 10.93 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.02261, allocations: 11.94 kB / 242.2 MB, free: 10.92 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.02274, allocations: 32.02 kB / 242.3 MB, free: 10.89 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.02279, allocations: 31.88 kB / 242.3 MB, free: 10.86 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.0228, allocations: 8 kB / 242.3 MB, free: 10.85 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.631e-05/0.0229, allocations: 136.7 kB / 242.4 MB, free: 10.71 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0229, allocations: 0 / 242.4 MB, free: 10.71 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00031/0.02321, allocations: 116 kB / 242.5 MB, free: 10.6 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 9.298e-05/0.0233, allocations: 88.42 kB / 242.6 MB, free: 10.51 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003545/0.02365, allocations: 416.7 kB / 243 MB, free: 10.07 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.375e-05/0.02367, allocations: 8 kB / 243 MB, free: 10.07 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002308/0.0239, allocations: 348.7 kB / 243.4 MB, free: 9.699 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.02417, allocations: 85.41 kB / 243.5 MB, free: 9.617 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003355/0.02753, allocations: 0.9167 MB / 244.4 MB, free: 8.664 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.452e-05/0.0276, allocations: 125.7 kB / 244.5 MB, free: 8.52 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.341e-05/0.0277, allocations: 39.31 kB / 244.5 MB, free: 8.48 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.02783, allocations: 123.3 kB / 244.7 MB, free: 8.359 MB / 250.7 MB Notification: Performance of SimCode: time 9.02e-07/0.02783, allocations: 3.938 kB / 244.7 MB, free: 8.355 MB / 250.7 MB Notification: Performance of Templates: time 0.007186/0.03502, allocations: 4.946 MB / 249.6 MB, free: 3.441 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.969688388518989]