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.00135/0.00135, allocations: 67.77 kB / 21.69 MB, free: 2.859 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.001093/0.001093, allocations: 162 kB / 24.98 MB, free: 9.34 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.018/1.018, allocations: 177.1 MB / 205.3 MB, free: 5.617 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.633e-06/1.633e-06, allocations: 0 / 273.1 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.847e-05/3.011e-05, allocations: 2.312 kB / 273.1 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.004035/0.004065, allocations: 4.05 MB / 277.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.005458, allocations: 0.9423 MB / 278.1 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001827/0.005641, allocations: 11.94 kB / 278.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001825/0.005823, allocations: 91.08 kB / 278.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000258/0.006081, allocations: 198.2 kB / 278.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003469/0.006428, allocations: 163.7 kB / 278.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004979/0.006926, allocations: 0.6924 MB / 279.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002234/0.00715, allocations: 143.7 kB / 279.4 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003785/0.007528, allocations: 395 kB / 279.8 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002242/0.007752, allocations: 219.3 kB / 280 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.984e-05/0.007812, allocations: 56 kB / 280 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.557e-05/0.007898, allocations: 60 kB / 280.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.924e-05/0.007967, allocations: 143.3 kB / 280.2 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.008107, allocations: 211.4 kB / 280.4 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004287/0.008536, allocations: 446.4 kB / 280.9 MB, free: 9.957 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.008541, allocations: 0 / 280.9 MB, free: 9.957 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.008542, allocations: 0 / 280.9 MB, free: 9.957 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.00855, allocations: 0 / 280.9 MB, free: 9.957 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.0009613/0.009511, allocations: 0.9085 MB / 281.8 MB, free: 9.012 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.009551, allocations: 8.031 kB / 281.8 MB, free: 9.004 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002223/0.009773, allocations: 120.5 kB / 281.9 MB, free: 8.887 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004191/0.01019, allocations: 324.2 kB / 282.2 MB, free: 8.543 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.01022, allocations: 37.38 kB / 282.3 MB, free: 8.504 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.706e-05/0.01028, allocations: 56.33 kB / 282.3 MB, free: 8.449 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004979/0.01077, allocations: 0.5383 MB / 282.9 MB, free: 7.859 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.01078, allocations: 192 / 282.9 MB, free: 7.859 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.726e-05/0.01082, allocations: 24.36 kB / 282.9 MB, free: 7.836 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.01084, allocations: 15.94 kB / 282.9 MB, free: 7.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002532/0.01109, allocations: 174.8 kB / 283.1 MB, free: 7.648 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.01282, allocations: 1.59 MB / 284.7 MB, free: 5.973 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.0131, allocations: 226 kB / 284.9 MB, free: 5.727 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.01322, allocations: 110.3 kB / 285 MB, free: 5.613 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.01324, allocations: 4 kB / 285 MB, free: 5.609 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.01327, allocations: 45.38 kB / 285 MB, free: 5.555 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 2.765e-06/0.01327, allocations: 0 / 285 MB, free: 5.555 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.00107/0.01434, allocations: 0.7024 MB / 285.7 MB, free: 4.809 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.01438, allocations: 81.11 kB / 285.8 MB, free: 4.711 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003127/0.01469, allocations: 406.6 kB / 286.2 MB, free: 4.297 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.01471, allocations: 37.7 kB / 286.2 MB, free: 4.254 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.01486, allocations: 342.8 kB / 286.6 MB, free: 3.914 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.47e-05/0.01493, allocations: 119 kB / 286.7 MB, free: 3.797 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.578e-05/0.01501, allocations: 75.86 kB / 286.8 MB, free: 3.715 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.01515, allocations: 0.5157 MB / 287.3 MB, free: 3.188 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.216e-05/0.01524, allocations: 52.95 kB / 287.3 MB, free: 3.137 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004259/0.01567, allocations: 181.2 kB / 287.5 MB, free: 2.906 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/0.01591, allocations: 266.2 kB / 287.8 MB, free: 2.602 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.01591, allocations: 4 kB / 287.8 MB, free: 2.598 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004271/0.01634, allocations: 364.2 kB / 288.1 MB, free: 2.227 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.01636, allocations: 8 kB / 288.1 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.01637, allocations: 4 kB / 288.1 MB, free: 2.215 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003579/0.01672, allocations: 111.5 kB / 288.3 MB, free: 2.098 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.01691, allocations: 83.89 kB / 288.3 MB, free: 2.016 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001852/0.01877, allocations: 3.85 MB / 292.2 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.01892, allocations: 27.88 kB / 292.2 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.01894, allocations: 12 kB / 292.2 MB, free: 13.88 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.0001485/0.01909, allocations: 188.4 kB / 292.4 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.116e-05/0.01915, allocations: 47.77 kB / 292.5 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.676e-05/0.01919, allocations: 43.3 kB / 292.5 MB, free: 13.6 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01919, allocations: 4 kB / 292.5 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.0192, allocations: 0 / 292.5 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.0192, allocations: 11.95 kB / 292.5 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007659/0.01997, allocations: 0.8237 MB / 293.3 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.01997, allocations: 0 / 293.3 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.417e-05/0.02006, allocations: 43.98 kB / 293.4 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002772/0.02034, allocations: 111.2 kB / 293.5 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.02036, allocations: 8 kB / 293.5 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/0.02213, allocations: 3.858 MB / 297.4 MB, free: 8.441 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.02213, allocations: 4 kB / 297.4 MB, free: 8.438 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004708/0.0226, allocations: 0.5971 MB / 298 MB, free: 7.812 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/0.02264, allocations: 43.62 kB / 298 MB, free: 7.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.02267, allocations: 11.98 kB / 298 MB, free: 7.758 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.02282, allocations: 24.17 kB / 298 MB, free: 7.734 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.02288, allocations: 27.95 kB / 298.1 MB, free: 7.707 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.02289, allocations: 19.94 kB / 298.1 MB, free: 7.688 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001701/0.02306, allocations: 275.1 kB / 298.4 MB, free: 7.418 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02306, allocations: 0 / 298.4 MB, free: 7.418 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003912/0.02346, allocations: 120 kB / 298.5 MB, free: 7.301 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.0001242/0.02358, allocations: 99.25 kB / 298.6 MB, free: 7.195 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005232/0.0241, allocations: 0.5529 MB / 299.1 MB, free: 6.605 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.02411, allocations: 0 / 299.1 MB, free: 6.605 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003085/0.02441, allocations: 477.3 kB / 299.6 MB, free: 6.105 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.02473, allocations: 57.86 kB / 299.6 MB, free: 6.051 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.02597, allocations: 0.8836 MB / 300.5 MB, free: 5.129 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.282e-05/0.02605, allocations: 117.9 kB / 300.6 MB, free: 4.988 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.546e-05/0.02614, allocations: 43.25 kB / 300.7 MB, free: 4.949 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.429e-05/0.0262, allocations: 28.5 kB / 300.7 MB, free: 4.922 MB / 282.7 MB Notification: Performance of SimCode: time 8.21e-07/0.0262, allocations: 4 kB / 300.7 MB, free: 4.918 MB / 282.7 MB Notification: Performance of Templates: time 0.006951/0.03315, allocations: 4.557 MB / 305.3 MB, free: 444 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.3415262440685183]