Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001613/0.002681, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009582/0.0009582, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001345/0.002303, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9163/0.9163, allocations: 173.4 MB / 185.8 MB, free: 9.004 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08157/0.9979, allocations: 52.5 MB / 238.3 MB, free: 4.441 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 239.5 MB, free: 3.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.306e-05/1.463e-05, allocations: 2.312 kB / 239.5 MB, free: 3.227 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002568/0.002582, allocations: 1.595 MB / 241.1 MB, free: 1.625 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008047/0.003387, allocations: 0.4922 MB / 241.6 MB, free: 1.129 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.405e-05/0.003431, allocations: 0 / 241.6 MB, free: 1.129 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.615e-05/0.003517, allocations: 23.86 kB / 241.6 MB, free: 1.105 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 4.521e-05/0.003562, allocations: 11.86 kB / 241.6 MB, free: 1.094 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.003714, allocations: 39.84 kB / 241.7 MB, free: 1.055 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 9.799e-05/0.003812, allocations: 59.8 kB / 241.7 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.525e-05/0.003907, allocations: 19.92 kB / 241.8 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.004063, allocations: 43.84 kB / 241.8 MB, free: 0.9336 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.77e-05/0.004131, allocations: 27.89 kB / 241.8 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.00415, allocations: 4 kB / 241.8 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.499e-05/0.004225, allocations: 20 kB / 241.8 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.906e-05/0.004244, allocations: 4 kB / 241.8 MB, free: 0.8789 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.00427, allocations: 15.94 kB / 241.9 MB, free: 0.8633 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.004426, allocations: 51.77 kB / 241.9 MB, free: 0.8125 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.537e-05/0.004441, allocations: 4 kB / 241.9 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.004442, allocations: 0 / 241.9 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.004458, allocations: 0 / 241.9 MB, free: 0.8086 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006868/0.005144, allocations: 361.5 kB / 242.3 MB, free: 424 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.005181, allocations: 12.03 kB / 242.3 MB, free: 412 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.00522, allocations: 8.922 kB / 242.3 MB, free: 404 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.647e-05/0.005317, allocations: 109.7 kB / 242.4 MB, free: 268 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.005333, allocations: 4.375 kB / 242.4 MB, free: 264 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.005344, allocations: 8.312 kB / 242.4 MB, free: 256 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.0055, allocations: 82.86 kB / 242.5 MB, free: 164 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.005508, allocations: 192 / 242.5 MB, free: 164 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.005516, allocations: 384 / 242.5 MB, free: 164 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.005524, allocations: 7.938 kB / 242.5 MB, free: 156 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.743e-05/0.005571, allocations: 11.98 kB / 242.5 MB, free: 144 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000312/0.005883, allocations: 184.1 kB / 242.7 MB, free: 15.95 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.005992, allocations: 30.58 kB / 242.7 MB, free: 15.91 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.765e-05/0.00602, allocations: 12.84 kB / 242.7 MB, free: 15.89 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.006036, allocations: 4.125 kB / 242.7 MB, free: 15.89 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.006061, allocations: 38.59 kB / 242.8 MB, free: 15.84 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/0.006063, allocations: 7.938 kB / 242.8 MB, free: 15.83 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001527/0.006215, allocations: 45.69 kB / 242.8 MB, free: 15.78 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.006251, allocations: 51.41 kB / 242.9 MB, free: 15.72 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.776e-05/0.006318, allocations: 118.7 kB / 243 MB, free: 15.59 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.006333, allocations: 29.7 kB / 243 MB, free: 15.55 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.686e-05/0.00637, allocations: 92.08 kB / 243.1 MB, free: 15.46 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.006395, allocations: 11.84 kB / 243.1 MB, free: 15.45 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.006431, allocations: 21.7 kB / 243.1 MB, free: 15.42 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.718e-05/0.006528, allocations: 322.8 kB / 243.5 MB, free: 15.1 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.847e-05/0.006547, allocations: 4 kB / 243.5 MB, free: 15.09 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.672e-05/0.006564, allocations: 8 kB / 243.5 MB, free: 15.09 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.31e-05/0.006607, allocations: 25.16 kB / 243.5 MB, free: 15.06 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.006609, allocations: 0 / 243.5 MB, free: 15.06 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.598e-05/0.006695, allocations: 57.62 kB / 243.6 MB, free: 15 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.00671, allocations: 4 kB / 243.6 MB, free: 14.99 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.006714, allocations: 0 / 243.6 MB, free: 14.99 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.218e-06/0.006724, allocations: 0 / 243.6 MB, free: 14.99 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.006829, allocations: 15.98 kB / 243.6 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.006832, allocations: 0 / 243.6 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.778e-05/0.00687, allocations: 7.984 kB / 243.6 MB, free: 14.97 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.006875, allocations: 4 kB / 243.6 MB, free: 14.96 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.062e-05/0.006935, allocations: 117.8 kB / 243.7 MB, free: 14.84 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.006963, allocations: 11.94 kB / 243.7 MB, free: 14.83 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.007083, allocations: 65.73 kB / 243.8 MB, free: 14.75 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.007085, allocations: 3.938 kB / 243.8 MB, free: 14.75 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.007087, allocations: 0 / 243.8 MB, free: 14.75 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.00709, allocations: 0 / 243.8 MB, free: 14.75 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.91e-05/0.007179, allocations: 77.88 kB / 243.9 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.007181, allocations: 0 / 243.9 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.284e-05/0.007234, allocations: 19.98 kB / 243.9 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-06/0.007241, allocations: 11.95 kB / 243.9 MB, free: 14.62 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.007243, allocations: 3.938 kB / 243.9 MB, free: 14.62 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.007248, allocations: 4 kB / 243.9 MB, free: 14.62 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.00725, allocations: 3.938 kB / 243.9 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.007251, allocations: 0 / 243.9 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.341e-05/0.007335, allocations: 155.6 kB / 244.1 MB, free: 14.45 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.468e-06/0.007344, allocations: 4 kB / 244.1 MB, free: 14.44 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.586e-05/0.00738, allocations: 7.938 kB / 244.1 MB, free: 14.43 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.007408, allocations: 7.984 kB / 244.1 MB, free: 14.43 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.007412, allocations: 4 kB / 244.1 MB, free: 14.42 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.356e-05/0.007425, allocations: 16.84 kB / 244.1 MB, free: 14.4 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007425, allocations: 0 / 244.1 MB, free: 14.4 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001169/0.007542, allocations: 19.94 kB / 244.1 MB, free: 14.38 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.873e-05/0.007631, allocations: 80.36 kB / 244.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.601e-05/0.007697, allocations: 28.83 kB / 244.2 MB, free: 14.27 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.007701, allocations: 0 / 244.2 MB, free: 14.27 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.08e-05/0.007722, allocations: 16.86 kB / 244.2 MB, free: 14.25 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.007851, allocations: 23.92 kB / 244.3 MB, free: 14.22 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004057/0.008257, allocations: 164.2 kB / 244.4 MB, free: 14.04 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.275e-05/0.008289, allocations: 63.34 kB / 244.5 MB, free: 13.95 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.94e-05/0.008309, allocations: 0 / 244.5 MB, free: 13.95 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.739e-05/0.008356, allocations: 55.38 kB / 244.5 MB, free: 13.9 MB / 250.7 MB Notification: Performance of SimCode: time 5.41e-07/0.008357, allocations: 0 / 244.5 MB, free: 13.9 MB / 250.7 MB Notification: Performance of Templates: time 0.002243/0.0106, allocations: 0.9552 MB / 245.5 MB, free: 12.95 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.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.4073235047981143]