Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00106/0.00106, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001024/0.001024, allocations: 170.2 kB / 24.82 MB, free: 9.262 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.029/1.029, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 273.4 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.407e-05/2.557e-05, allocations: 6.312 kB / 273.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.004237/0.004263, allocations: 3.991 MB / 277.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.005998, allocations: 0.9423 MB / 278.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002917/0.00629, allocations: 15.94 kB / 278.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002139/0.006504, allocations: 99 kB / 278.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003565/0.00686, allocations: 186.3 kB / 278.7 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.007281, allocations: 167.7 kB / 278.8 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006275/0.007909, allocations: 0.7002 MB / 279.5 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002453/0.008154, allocations: 139.7 kB / 279.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005944/0.008748, allocations: 403 kB / 280.1 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002651/0.009013, allocations: 215.3 kB / 280.3 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.758e-05/0.009081, allocations: 59.98 kB / 280.3 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.009195, allocations: 56 kB / 280.4 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.946e-05/0.009275, allocations: 131.4 kB / 280.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.009447, allocations: 219.4 kB / 280.7 MB, free: 9.895 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005562/0.01, allocations: 442.3 kB / 281.2 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.01001, allocations: 4 kB / 281.2 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.01001, allocations: 0 / 281.2 MB, free: 9.457 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.01003, allocations: 0 / 281.2 MB, free: 9.457 MB / 266.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.00111/0.01114, allocations: 0.9124 MB / 282.1 MB, free: 8.508 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.01118, allocations: 12.03 kB / 282.1 MB, free: 8.496 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000231/0.01141, allocations: 120.5 kB / 282.2 MB, free: 8.379 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006329/0.01204, allocations: 312.2 kB / 282.5 MB, free: 8.047 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.01207, allocations: 45.31 kB / 282.6 MB, free: 8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.738e-05/0.01212, allocations: 56.33 kB / 282.6 MB, free: 7.945 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004553/0.01258, allocations: 0.507 MB / 283.1 MB, free: 7.387 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.01259, allocations: 192 / 283.1 MB, free: 7.387 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/0.01262, allocations: 28.36 kB / 283.1 MB, free: 7.359 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.01263, allocations: 15.94 kB / 283.2 MB, free: 7.344 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001777/0.01281, allocations: 139.9 kB / 283.3 MB, free: 7.207 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.01443, allocations: 1.516 MB / 284.8 MB, free: 5.613 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.01468, allocations: 206 kB / 285 MB, free: 5.387 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.599e-05/0.01475, allocations: 91.5 kB / 285.1 MB, free: 5.289 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.01477, allocations: 11.94 kB / 285.1 MB, free: 5.277 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.01481, allocations: 45.39 kB / 285.2 MB, free: 5.223 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.793e-06/0.01481, allocations: 0 / 285.2 MB, free: 5.223 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.000868/0.01568, allocations: 0.5319 MB / 285.7 MB, free: 4.648 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.01571, allocations: 81.11 kB / 285.8 MB, free: 4.551 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.01596, allocations: 402.3 kB / 286.2 MB, free: 4.141 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.01599, allocations: 33.7 kB / 286.2 MB, free: 4.102 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.01614, allocations: 342.8 kB / 286.5 MB, free: 3.762 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.837e-05/0.0162, allocations: 119 kB / 286.7 MB, free: 3.645 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.192e-05/0.01628, allocations: 83.78 kB / 286.7 MB, free: 3.555 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.01641, allocations: 0.5195 MB / 287.3 MB, free: 3.023 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.741e-05/0.01647, allocations: 44.89 kB / 287.3 MB, free: 2.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.01658, allocations: 169.2 kB / 287.5 MB, free: 2.762 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.01677, allocations: 242.6 kB / 287.7 MB, free: 2.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.01678, allocations: 7.984 kB / 287.7 MB, free: 2.473 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003551/0.01713, allocations: 332.5 kB / 288 MB, free: 2.133 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.01715, allocations: 7.938 kB / 288 MB, free: 2.125 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.01716, allocations: 4 kB / 288 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002977/0.01745, allocations: 103.4 kB / 288.1 MB, free: 2.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.01762, allocations: 79.89 kB / 288.2 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/0.01967, allocations: 3.808 MB / 292 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.01983, allocations: 23.89 kB / 292.1 MB, free: 13.87 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.01985, allocations: 12.16 kB / 292.1 MB, free: 13.86 MB / 282.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 0.0001333/0.01998, allocations: 180.5 kB / 292.2 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-05/0.02005, allocations: 47.77 kB / 292.3 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.411e-05/0.02009, allocations: 51.22 kB / 292.3 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.02009, allocations: 4 kB / 292.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.0201, allocations: 4.125 kB / 292.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.02011, allocations: 4 kB / 292.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007314/0.02084, allocations: 0.75 MB / 293.1 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.02084, allocations: 0 / 293.1 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.449e-05/0.02094, allocations: 43.92 kB / 293.1 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002905/0.02123, allocations: 111.2 kB / 293.3 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.02124, allocations: 7.984 kB / 293.3 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001999/0.02324, allocations: 3.809 MB / 297.1 MB, free: 8.578 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.02325, allocations: 7.938 kB / 297.1 MB, free: 8.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004469/0.02369, allocations: 0.5656 MB / 297.6 MB, free: 7.977 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.054e-05/0.02374, allocations: 51.73 kB / 297.7 MB, free: 7.926 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.02377, allocations: 4 kB / 297.7 MB, free: 7.922 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.02392, allocations: 27.98 kB / 297.7 MB, free: 7.895 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/0.02397, allocations: 27.94 kB / 297.7 MB, free: 7.867 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.02399, allocations: 8 kB / 297.8 MB, free: 7.859 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000139/0.02412, allocations: 262.9 kB / 298 MB, free: 7.602 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02412, allocations: 0 / 298 MB, free: 7.602 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004219/0.02455, allocations: 124 kB / 298.1 MB, free: 7.48 MB / 282.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.000115/0.02466, allocations: 103.2 kB / 298.2 MB, free: 7.371 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004711/0.02513, allocations: 0.5182 MB / 298.8 MB, free: 6.816 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.02514, allocations: 12 kB / 298.8 MB, free: 6.805 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003028/0.02544, allocations: 458 kB / 299.2 MB, free: 6.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.02578, allocations: 53.47 kB / 299.3 MB, free: 6.27 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.02705, allocations: 0.8844 MB / 300.1 MB, free: 5.344 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.43e-05/0.02715, allocations: 109.9 kB / 300.3 MB, free: 5.211 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.02725, allocations: 43.25 kB / 300.3 MB, free: 5.172 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.02741, allocations: 146.2 kB / 300.4 MB, free: 5.027 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02741, allocations: 0 / 300.4 MB, free: 5.027 MB / 282.7 MB Notification: Performance of Templates: time 0.008231/0.03564, allocations: 4.809 MB / 305.3 MB, free: 308 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 3.249912411905825]