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.0008835/0.0008835, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00129/0.002173, allocations: 457.8 kB / 10.45 MB, free: 244 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.0007389/0.0007389, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009998/0.001739, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9989/0.9989, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08446/1.083, allocations: 53.87 MB / 243.9 MB, free: 14.85 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.884e-06/1.884e-06, allocations: 0 / 245.2 MB, free: 13.61 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.488e-05, allocations: 2.312 kB / 245.2 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001942/0.001967, allocations: 1.614 MB / 246.8 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005726/0.00254, allocations: 0.5187 MB / 247.3 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.39e-05/0.002573, allocations: 0 / 247.3 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.405e-05/0.002637, allocations: 19.86 kB / 247.3 MB, free: 11.44 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.54e-05/0.002673, allocations: 7.875 kB / 247.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001112/0.002784, allocations: 47.83 kB / 247.4 MB, free: 11.39 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.472e-05/0.002859, allocations: 55.8 kB / 247.4 MB, free: 11.33 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.388e-05/0.002943, allocations: 19.92 kB / 247.4 MB, free: 11.31 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.003095, allocations: 43.89 kB / 247.5 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.321e-05/0.003148, allocations: 23.97 kB / 247.5 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.003161, allocations: 4 kB / 247.5 MB, free: 11.24 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.394e-05/0.003215, allocations: 19.94 kB / 247.5 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.003228, allocations: 7.938 kB / 247.5 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.908e-05/0.003247, allocations: 19.94 kB / 247.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.00337, allocations: 51.83 kB / 247.6 MB, free: 11.14 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.183e-05/0.003382, allocations: 0 / 247.6 MB, free: 11.14 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.003383, allocations: 4 kB / 247.6 MB, free: 11.14 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.003391, allocations: 0 / 247.6 MB, free: 11.14 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.0004416/0.003833, allocations: 361.5 kB / 248 MB, free: 10.75 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.003867, allocations: 12.62 kB / 248 MB, free: 10.73 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.621e-05/0.003893, allocations: 4.938 kB / 248 MB, free: 10.73 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.464e-05/0.003968, allocations: 117.6 kB / 248.1 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.003985, allocations: 12.36 kB / 248.1 MB, free: 10.58 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.988e-06/0.003995, allocations: 384 / 248.1 MB, free: 10.58 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.004109, allocations: 74.92 kB / 248.2 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.004115, allocations: 4.188 kB / 248.2 MB, free: 10.49 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.004122, allocations: 384 / 248.2 MB, free: 10.49 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.004128, allocations: 7.938 kB / 248.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.253e-05/0.00416, allocations: 27.84 kB / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002265/0.004387, allocations: 168.3 kB / 248.4 MB, free: 10.28 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.513e-05/0.004462, allocations: 38.56 kB / 248.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.809e-05/0.00448, allocations: 12.89 kB / 248.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.004493, allocations: 0 / 248.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.004516, allocations: 46.5 kB / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 7.72e-07/0.004517, allocations: 7.938 kB / 248.5 MB, free: 10.15 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001092/0.004626, allocations: 49.81 kB / 248.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.004652, allocations: 55.41 kB / 248.6 MB, free: 10.03 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.854e-05/0.004701, allocations: 110.7 kB / 248.7 MB, free: 9.91 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/0.00471, allocations: 25.7 kB / 248.7 MB, free: 9.879 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.104e-05/0.004741, allocations: 96.06 kB / 248.8 MB, free: 9.781 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.004762, allocations: 23.73 kB / 248.8 MB, free: 9.758 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.00479, allocations: 13.72 kB / 248.9 MB, free: 9.738 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.274e-05/0.004863, allocations: 322.8 kB / 249.2 MB, free: 9.414 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.357e-05/0.004876, allocations: 4 kB / 249.2 MB, free: 9.41 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.145e-05/0.004888, allocations: 4 kB / 249.2 MB, free: 9.406 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.245e-05/0.00492, allocations: 28.84 kB / 249.2 MB, free: 9.375 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.004922, allocations: 0 / 249.2 MB, free: 9.375 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.847e-05/0.00498, allocations: 53.61 kB / 249.3 MB, free: 9.316 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.004991, allocations: 4 kB / 249.3 MB, free: 9.312 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.004994, allocations: 0 / 249.3 MB, free: 9.312 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.679e-06/0.005004, allocations: 0 / 249.3 MB, free: 9.312 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.221e-05/0.005086, allocations: 19.92 kB / 249.3 MB, free: 9.293 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.00509, allocations: 3.984 kB / 249.3 MB, free: 9.289 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.005111, allocations: 4 kB / 249.3 MB, free: 9.285 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.005117, allocations: 4 kB / 249.3 MB, free: 9.281 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.262e-05/0.00518, allocations: 113.8 kB / 249.4 MB, free: 9.16 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.005195, allocations: 11.92 kB / 249.4 MB, free: 9.148 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.307e-05/0.005278, allocations: 57.8 kB / 249.5 MB, free: 9.09 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.00528, allocations: 0 / 249.5 MB, free: 9.09 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.005281, allocations: 0 / 249.5 MB, free: 9.09 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.005284, allocations: 0 / 249.5 MB, free: 9.09 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.966e-05/0.005373, allocations: 85.86 kB / 249.6 MB, free: 8.988 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.005374, allocations: 448 / 249.6 MB, free: 8.988 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.06e-05/0.005425, allocations: 23.92 kB / 249.6 MB, free: 8.965 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.096e-06/0.005433, allocations: 11.89 kB / 249.6 MB, free: 8.953 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.005436, allocations: 7.938 kB / 249.6 MB, free: 8.945 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.005442, allocations: 4 kB / 249.6 MB, free: 8.941 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.005443, allocations: 0 / 249.6 MB, free: 8.941 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.005443, allocations: 0 / 249.6 MB, free: 8.941 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.071e-05/0.005524, allocations: 147.5 kB / 249.7 MB, free: 8.781 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-06/0.005534, allocations: 8 kB / 249.8 MB, free: 8.773 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.771e-05/0.005571, allocations: 11.92 kB / 249.8 MB, free: 8.762 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.005598, allocations: 3.984 kB / 249.8 MB, free: 8.758 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.005602, allocations: 4 kB / 249.8 MB, free: 8.754 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.472e-05/0.005616, allocations: 20.78 kB / 249.8 MB, free: 8.73 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005616, allocations: 4 kB / 249.8 MB, free: 8.727 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001194/0.005736, allocations: 12 kB / 249.8 MB, free: 8.715 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.367e-05/0.005829, allocations: 84.39 kB / 249.9 MB, free: 8.621 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.503e-05/0.005894, allocations: 24.86 kB / 249.9 MB, free: 8.594 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.005898, allocations: 0 / 249.9 MB, free: 8.594 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.973e-05/0.005928, allocations: 28.83 kB / 249.9 MB, free: 8.562 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.006088, allocations: 71.39 kB / 250 MB, free: 8.48 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003953/0.006483, allocations: 160.1 kB / 250.2 MB, free: 8.297 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.153e-05/0.006514, allocations: 63.34 kB / 250.2 MB, free: 8.215 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.226e-05/0.006537, allocations: 3.938 kB / 250.2 MB, free: 8.211 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.538e-05/0.006592, allocations: 59.38 kB / 250.3 MB, free: 8.152 MB / 250.7 MB Notification: Performance of SimCode: time 6.81e-07/0.006593, allocations: 0 / 250.3 MB, free: 8.152 MB / 250.7 MB Notification: Performance of Templates: time 0.002458/0.009051, allocations: 0.9687 MB / 251.3 MB, free: 7.199 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.527042499743402]