Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.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.001939/0.001939, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 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.002013/0.002013, allocations: 160.8 kB / 24.27 MB, free: 160 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.578/1.578, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.12e-05/3.321e-05, allocations: 4.984 kB / 272.2 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.01069/0.01072, allocations: 4.023 MB / 276.3 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003554/0.01427, allocations: 0.9423 MB / 277.2 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003666/0.01464, allocations: 11.94 kB / 277.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003754/0.01502, allocations: 91.08 kB / 277.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007976/0.01581, allocations: 198.2 kB / 277.5 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007132/0.01653, allocations: 159.7 kB / 277.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001334/0.01786, allocations: 0.704 MB / 278.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004497/0.01831, allocations: 135.7 kB / 278.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000925/0.01924, allocations: 403.1 kB / 278.9 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005729/0.01981, allocations: 215.3 kB / 279.1 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001557/0.01997, allocations: 56 kB / 279.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002282/0.02019, allocations: 67.92 kB / 279.2 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002107/0.0204, allocations: 135.4 kB / 279.3 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004274/0.02083, allocations: 219.4 kB / 279.6 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.0222, allocations: 0.6541 MB / 280.2 MB, free: 9.746 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.02221, allocations: 4 kB / 280.2 MB, free: 9.742 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.02222, allocations: 0 / 280.2 MB, free: 9.742 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.02223, allocations: 0 / 280.2 MB, free: 9.742 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.002743/0.02497, allocations: 0.9355 MB / 281.1 MB, free: 8.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.02502, allocations: 11.98 kB / 281.2 MB, free: 8.758 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006038/0.02563, allocations: 120.5 kB / 281.3 MB, free: 8.641 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009421/0.02657, allocations: 336.1 kB / 281.6 MB, free: 8.285 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.275e-05/0.02664, allocations: 41.31 kB / 281.6 MB, free: 8.242 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.02679, allocations: 52.38 kB / 281.7 MB, free: 8.191 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/0.02854, allocations: 0.6431 MB / 282.3 MB, free: 7.492 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.02856, allocations: 192 / 282.3 MB, free: 7.492 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.019e-05/0.02864, allocations: 20.38 kB / 282.4 MB, free: 7.473 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.032e-05/0.02867, allocations: 15.94 kB / 282.4 MB, free: 7.457 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.02985, allocations: 312.5 kB / 282.7 MB, free: 7.152 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005369/0.03522, allocations: 1.727 MB / 284.4 MB, free: 5.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009017/0.03612, allocations: 270 kB / 284.7 MB, free: 5.051 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004481/0.03657, allocations: 135.3 kB / 284.8 MB, free: 4.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.537e-05/0.03661, allocations: 4 kB / 284.8 MB, free: 4.906 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.235e-05/0.03667, allocations: 41.39 kB / 284.8 MB, free: 4.855 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 3.467e-06/0.03668, allocations: 0 / 284.8 MB, free: 4.855 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.003498/0.04017, allocations: 0.8229 MB / 285.7 MB, free: 3.988 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.0403, allocations: 93 kB / 285.8 MB, free: 3.879 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.04134, allocations: 474.6 kB / 286.2 MB, free: 3.398 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.363e-05/0.0414, allocations: 33.7 kB / 286.3 MB, free: 3.359 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004786/0.04188, allocations: 358.7 kB / 286.6 MB, free: 3.004 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/0.04208, allocations: 123 kB / 286.7 MB, free: 2.883 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002437/0.04233, allocations: 87.81 kB / 286.8 MB, free: 2.789 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004777/0.04281, allocations: 0.5313 MB / 287.3 MB, free: 2.246 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004212/0.04323, allocations: 96.95 kB / 287.4 MB, free: 2.152 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006213/0.04385, allocations: 229.2 kB / 287.7 MB, free: 1.879 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.04491, allocations: 351.2 kB / 288 MB, free: 1.488 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.04491, allocations: 0 / 288 MB, free: 1.488 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001744/0.04666, allocations: 463.6 kB / 288.5 MB, free: 1.023 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/0.04669, allocations: 8.297 kB / 288.5 MB, free: 1.016 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.04671, allocations: 8 kB / 288.5 MB, free: 1.008 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/0.04789, allocations: 115.2 kB / 288.6 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006573/0.04855, allocations: 79.89 kB / 288.7 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006046/0.05459, allocations: 4.002 MB / 292.7 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005572/0.05515, allocations: 19.92 kB / 292.7 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.378e-05/0.0552, allocations: 16 kB / 292.7 MB, free: 12.52 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,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004551/0.05566, allocations: 212.4 kB / 292.9 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/0.05588, allocations: 59.78 kB / 293 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.05604, allocations: 43.3 kB / 293 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.05605, allocations: 4 kB / 293 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.544e-05/0.05606, allocations: 4 kB / 293 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.05608, allocations: 3.984 kB / 293 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002974/0.05905, allocations: 0.9527 MB / 294 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.05905, allocations: 0 / 294 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004057/0.05946, allocations: 47.97 kB / 294 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001105/0.06057, allocations: 127.3 kB / 294.1 MB, free: 11.01 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.41e-05/0.06061, allocations: 8 kB / 294.2 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006191/0.0668, allocations: 4.007 MB / 298.2 MB, free: 6.758 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/0.06681, allocations: 4 kB / 298.2 MB, free: 6.754 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/0.06879, allocations: 0.7063 MB / 298.9 MB, free: 6.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/0.06897, allocations: 47.62 kB / 298.9 MB, free: 5.973 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.958e-05/0.06905, allocations: 8 kB / 298.9 MB, free: 5.965 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006378/0.06969, allocations: 32 kB / 299 MB, free: 5.934 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.06983, allocations: 35.89 kB / 299 MB, free: 5.898 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.06986, allocations: 4 kB / 299 MB, free: 5.895 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007005/0.07057, allocations: 331 kB / 299.3 MB, free: 5.574 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.07057, allocations: 0 / 299.3 MB, free: 5.574 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001179/0.07174, allocations: 116 kB / 299.4 MB, free: 5.461 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.0002432/0.07199, allocations: 106.9 kB / 299.5 MB, free: 5.352 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001957/0.07394, allocations: 0.6338 MB / 300.2 MB, free: 4.684 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.07395, allocations: 0.625 kB / 300.2 MB, free: 4.684 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001372/0.07532, allocations: 0.4952 MB / 300.7 MB, free: 4.148 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009512/0.07627, allocations: 61.34 kB / 300.7 MB, free: 4.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003195/0.07947, allocations: 0.9029 MB / 301.6 MB, free: 3.148 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/0.07992, allocations: 238.2 kB / 301.9 MB, free: 2.887 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002903/0.08021, allocations: 43.25 kB / 301.9 MB, free: 2.848 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.08036, allocations: 28.5 kB / 301.9 MB, free: 2.82 MB / 282.7 MB Notification: Performance of SimCode: time 1.493e-06/0.08036, allocations: 0 / 301.9 MB, free: 2.82 MB / 282.7 MB Notification: Performance of Templates: time 0.163/0.2434, allocations: 4.525 MB / 306.5 MB, free: 40.07 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.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: 5.260798570001498]