Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.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.0007814/0.0007814, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001139/0.001921, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0009833/0.0009833, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00125/0.002234, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9532/0.9532, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1043/1.058, allocations: 53.87 MB / 243.8 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] 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.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 245 MB, free: 13.68 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.745e-05/1.915e-05, allocations: 2.312 kB / 245 MB, free: 13.68 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002007/0.002026, allocations: 1.607 MB / 246.6 MB, free: 12.06 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006724/0.002698, allocations: 0.5148 MB / 247.1 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.897e-05/0.002737, allocations: 4 kB / 247.1 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.37e-05/0.002801, allocations: 27.8 kB / 247.1 MB, free: 11.51 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.841e-05/0.002839, allocations: 3.938 kB / 247.1 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001203/0.00296, allocations: 47.77 kB / 247.2 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.741e-05/0.003037, allocations: 51.86 kB / 247.2 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.394e-05/0.003121, allocations: 15.92 kB / 247.2 MB, free: 11.39 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.003292, allocations: 47.89 kB / 247.3 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.634e-05/0.003348, allocations: 23.91 kB / 247.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.003365, allocations: 8 kB / 247.3 MB, free: 11.31 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.31e-05/0.003428, allocations: 15.94 kB / 247.3 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.003442, allocations: 12 kB / 247.4 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.082e-05/0.003463, allocations: 15.94 kB / 247.4 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.003586, allocations: 47.83 kB / 247.4 MB, free: 11.22 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.372e-05/0.003599, allocations: 4 kB / 247.4 MB, free: 11.22 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.0036, allocations: 0 / 247.4 MB, free: 11.22 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.003612, allocations: 0 / 247.4 MB, free: 11.22 MB / 250.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.0004709/0.004083, allocations: 361.5 kB / 247.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.004115, allocations: 8.625 kB / 247.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.004149, allocations: 8.922 kB / 247.8 MB, free: 10.81 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.878e-05/0.004227, allocations: 129.6 kB / 247.9 MB, free: 10.66 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.004243, allocations: 8.312 kB / 247.9 MB, free: 10.65 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-06/0.004252, allocations: 4.375 kB / 247.9 MB, free: 10.64 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.004372, allocations: 74.92 kB / 248 MB, free: 10.56 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.511e-06/0.004377, allocations: 192 / 248 MB, free: 10.56 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.004386, allocations: 4.375 kB / 248 MB, free: 10.56 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.004391, allocations: 3.938 kB / 248 MB, free: 10.55 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.163e-05/0.004422, allocations: 11.98 kB / 248 MB, free: 10.54 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002522/0.004674, allocations: 176.2 kB / 248.2 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.13e-05/0.004756, allocations: 34.56 kB / 248.2 MB, free: 10.31 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.849e-05/0.004774, allocations: 12.86 kB / 248.2 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.00479, allocations: 8.031 kB / 248.2 MB, free: 10.29 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.00481, allocations: 34.5 kB / 248.3 MB, free: 10.25 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.004811, allocations: 0 / 248.3 MB, free: 10.25 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001196/0.004931, allocations: 57.8 kB / 248.3 MB, free: 10.18 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.004963, allocations: 51.41 kB / 248.4 MB, free: 10.12 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.936e-05/0.005023, allocations: 114.7 kB / 248.5 MB, free: 9.996 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.005035, allocations: 25.7 kB / 248.5 MB, free: 9.965 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.346e-05/0.005069, allocations: 92.08 kB / 248.6 MB, free: 9.871 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.005102, allocations: 27.78 kB / 248.6 MB, free: 9.844 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.005128, allocations: 17.72 kB / 248.7 MB, free: 9.82 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.591e-05/0.005204, allocations: 314.8 kB / 249 MB, free: 9.504 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.005219, allocations: 11.92 kB / 249 MB, free: 9.492 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.135e-05/0.005231, allocations: 4.375 kB / 249 MB, free: 9.488 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.099e-05/0.005272, allocations: 28.84 kB / 249 MB, free: 9.457 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.005274, allocations: 0 / 249 MB, free: 9.457 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.106e-05/0.005335, allocations: 49.62 kB / 249.1 MB, free: 9.402 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.005348, allocations: 4 kB / 249.1 MB, free: 9.398 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.005354, allocations: 4 kB / 249.1 MB, free: 9.395 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/0.005361, allocations: 0 / 249.1 MB, free: 9.395 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.126e-05/0.005453, allocations: 15.92 kB / 249.1 MB, free: 9.379 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.005456, allocations: 11.98 kB / 249.1 MB, free: 9.367 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.609e-05/0.005482, allocations: 7.984 kB / 249.1 MB, free: 9.359 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.005487, allocations: 0 / 249.1 MB, free: 9.359 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.563e-05/0.005553, allocations: 109.8 kB / 249.2 MB, free: 9.242 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.483e-05/0.005567, allocations: 7.938 kB / 249.2 MB, free: 9.234 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.395e-05/0.005661, allocations: 65.72 kB / 249.3 MB, free: 9.168 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.005664, allocations: 4 kB / 249.3 MB, free: 9.164 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.005666, allocations: 3.984 kB / 249.3 MB, free: 9.16 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.005669, allocations: 0 / 249.3 MB, free: 9.16 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.708e-05/0.005766, allocations: 85.88 kB / 249.4 MB, free: 9.059 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.005767, allocations: 0 / 249.4 MB, free: 9.059 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.707e-05/0.005814, allocations: 15.94 kB / 249.4 MB, free: 9.043 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-06/0.005823, allocations: 15.88 kB / 249.4 MB, free: 9.027 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.005827, allocations: 3.938 kB / 249.4 MB, free: 9.023 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-06/0.005831, allocations: 0 / 249.4 MB, free: 9.023 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.005833, allocations: 4 kB / 249.4 MB, free: 9.02 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.005834, allocations: 0 / 249.4 MB, free: 9.02 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.68e-05/0.00592, allocations: 143.5 kB / 249.6 MB, free: 8.863 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.005932, allocations: 4 kB / 249.6 MB, free: 8.859 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.023e-05/0.005972, allocations: 16 kB / 249.6 MB, free: 8.844 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.006008, allocations: 7.984 kB / 249.6 MB, free: 8.836 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.006012, allocations: 4 kB / 249.6 MB, free: 8.832 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.66e-05/0.006029, allocations: 25.14 kB / 249.6 MB, free: 8.805 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006029, allocations: 0 / 249.6 MB, free: 8.805 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001183/0.006147, allocations: 11.94 kB / 249.6 MB, free: 8.793 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 9.358e-05/0.006241, allocations: 76.42 kB / 249.7 MB, free: 8.707 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.592e-05/0.006317, allocations: 32.84 kB / 249.7 MB, free: 8.672 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.006324, allocations: 4 kB / 249.7 MB, free: 8.668 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.31e-05/0.006347, allocations: 20.78 kB / 249.7 MB, free: 8.645 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.006489, allocations: 19.25 kB / 249.8 MB, free: 8.629 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004182/0.006907, allocations: 160.2 kB / 249.9 MB, free: 8.445 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.31e-05/0.00694, allocations: 59.34 kB / 250 MB, free: 8.367 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.104e-05/0.006971, allocations: 8 kB / 250 MB, free: 8.359 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.7e-05/0.007028, allocations: 59.38 kB / 250 MB, free: 8.301 MB / 250.7 MB Notification: Performance of SimCode: time 9.72e-07/0.007029, allocations: 0 / 250 MB, free: 8.301 MB / 250.7 MB Notification: Performance of Templates: time 0.002496/0.009525, allocations: 0.945 MB / 251 MB, free: 7.367 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.4298266461119056]