Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.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.0008607/0.0008607, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001416/0.002276, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0008408/0.0008408, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009974/0.001838, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.058/1.058, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08789/1.146, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.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.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 244.5 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.117e-05/2.275e-05, allocations: 5.125 kB / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001945/0.001968, allocations: 1.614 MB / 246.1 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006029/0.002571, allocations: 0.5186 MB / 246.6 MB, free: 12.19 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.674e-05/0.002607, allocations: 4 kB / 246.6 MB, free: 12.19 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.007e-05/0.002667, allocations: 11.92 kB / 246.6 MB, free: 12.18 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.687e-05/0.002704, allocations: 19.86 kB / 246.7 MB, free: 12.16 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001184/0.002823, allocations: 35.84 kB / 246.7 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.41e-05/0.002897, allocations: 55.86 kB / 246.7 MB, free: 12.07 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.37e-05/0.002981, allocations: 19.91 kB / 246.8 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.003136, allocations: 47.84 kB / 246.8 MB, free: 12 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.487e-05/0.00319, allocations: 23.89 kB / 246.8 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.003206, allocations: 8 kB / 246.8 MB, free: 11.97 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.341e-05/0.003259, allocations: 16 kB / 246.9 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.293e-05/0.003272, allocations: 11.94 kB / 246.9 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.903e-05/0.003291, allocations: 12 kB / 246.9 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.003418, allocations: 55.77 kB / 246.9 MB, free: 11.88 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-05/0.003432, allocations: 4 kB / 246.9 MB, free: 11.87 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.003434, allocations: 0 / 246.9 MB, free: 11.87 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.003445, allocations: 0 / 246.9 MB, free: 11.87 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.0004669/0.003912, allocations: 357.5 kB / 247.3 MB, free: 11.48 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.003945, allocations: 8.031 kB / 247.3 MB, free: 11.47 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.718e-05/0.003972, allocations: 8.922 kB / 247.3 MB, free: 11.46 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.635e-05/0.004048, allocations: 121.6 kB / 247.4 MB, free: 11.32 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.004063, allocations: 4.375 kB / 247.4 MB, free: 11.32 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.004072, allocations: 4.375 kB / 247.4 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.004191, allocations: 74.92 kB / 247.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.004196, allocations: 4.188 kB / 247.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-06/0.004202, allocations: 384 / 247.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.004207, allocations: 7.875 kB / 247.5 MB, free: 11.22 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.071e-05/0.004238, allocations: 11.98 kB / 247.5 MB, free: 11.21 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002331/0.004471, allocations: 176.3 kB / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.848e-05/0.00455, allocations: 30.61 kB / 247.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.979e-05/0.004569, allocations: 16.97 kB / 247.7 MB, free: 10.96 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.004584, allocations: 4 kB / 247.7 MB, free: 10.96 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.004603, allocations: 38.5 kB / 247.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.004604, allocations: 0 / 247.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001216/0.004726, allocations: 57.62 kB / 247.8 MB, free: 10.85 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.004752, allocations: 51.41 kB / 247.9 MB, free: 10.79 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.035e-05/0.004803, allocations: 114.7 kB / 248 MB, free: 10.66 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/0.004811, allocations: 29.7 kB / 248 MB, free: 10.62 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.865e-05/0.00484, allocations: 88.08 kB / 248.1 MB, free: 10.54 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.004861, allocations: 19.84 kB / 248.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.004888, allocations: 21.7 kB / 248.2 MB, free: 10.49 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.749e-05/0.004956, allocations: 314.8 kB / 248.5 MB, free: 10.17 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.387e-05/0.00497, allocations: 8 kB / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.339e-05/0.004983, allocations: 8.25 kB / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.058e-05/0.005014, allocations: 20.84 kB / 248.5 MB, free: 10.13 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.005016, allocations: 3.938 kB / 248.5 MB, free: 10.13 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.109e-05/0.005077, allocations: 57.56 kB / 248.6 MB, free: 10.07 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.00509, allocations: 7.594 kB / 248.6 MB, free: 10.06 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.005095, allocations: 0 / 248.6 MB, free: 10.06 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.005104, allocations: 7.984 kB / 248.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.583e-05/0.00518, allocations: 11.98 kB / 248.6 MB, free: 10.04 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.005183, allocations: 4 kB / 248.6 MB, free: 10.04 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.474e-05/0.005208, allocations: 15.94 kB / 248.6 MB, free: 10.02 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.005212, allocations: 0 / 248.6 MB, free: 10.02 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 5.104e-05/0.005263, allocations: 113.8 kB / 248.7 MB, free: 9.902 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.005279, allocations: 7.938 kB / 248.7 MB, free: 9.895 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.547e-05/0.005364, allocations: 65.72 kB / 248.8 MB, free: 9.824 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.005366, allocations: 0 / 248.8 MB, free: 9.824 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.005368, allocations: 4 kB / 248.8 MB, free: 9.82 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.00537, allocations: 0 / 248.8 MB, free: 9.82 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.143e-05/0.005462, allocations: 77.88 kB / 248.9 MB, free: 9.727 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.005463, allocations: 0 / 248.9 MB, free: 9.727 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.762e-05/0.005511, allocations: 23.98 kB / 248.9 MB, free: 9.703 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-06/0.005519, allocations: 11.89 kB / 248.9 MB, free: 9.691 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.005521, allocations: 3.938 kB / 248.9 MB, free: 9.688 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-06/0.005525, allocations: 0 / 248.9 MB, free: 9.688 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.005527, allocations: 4 kB / 248.9 MB, free: 9.684 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.005528, allocations: 0 / 248.9 MB, free: 9.684 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.656e-05/0.005614, allocations: 155.5 kB / 249.1 MB, free: 9.516 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.766e-06/0.005623, allocations: 192 / 249.1 MB, free: 9.516 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.171e-05/0.005665, allocations: 15.94 kB / 249.1 MB, free: 9.5 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/0.005693, allocations: 7.984 kB / 249.1 MB, free: 9.492 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.005695, allocations: 0 / 249.1 MB, free: 9.492 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.434e-05/0.00571, allocations: 24.84 kB / 249.1 MB, free: 9.465 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.00571, allocations: 0 / 249.1 MB, free: 9.465 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001176/0.005827, allocations: 8 kB / 249.1 MB, free: 9.457 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.359e-05/0.005921, allocations: 76.42 kB / 249.2 MB, free: 9.371 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.119e-05/0.005992, allocations: 36.83 kB / 249.2 MB, free: 9.332 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.005997, allocations: 7.938 kB / 249.2 MB, free: 9.324 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.107e-05/0.006018, allocations: 20.86 kB / 249.3 MB, free: 9.301 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.006168, allocations: 16.58 kB / 249.3 MB, free: 9.285 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004243/0.006593, allocations: 164.2 kB / 249.4 MB, free: 9.098 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.138e-05/0.006624, allocations: 59.34 kB / 249.5 MB, free: 9.02 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.304e-05/0.006647, allocations: 4 kB / 249.5 MB, free: 9.016 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.206e-05/0.006699, allocations: 59.36 kB / 249.6 MB, free: 8.957 MB / 250.7 MB Notification: Performance of SimCode: time 8.02e-07/0.0067, allocations: 4 kB / 249.6 MB, free: 8.953 MB / 250.7 MB Notification: Performance of Templates: time 0.002402/0.009102, allocations: 0.9445 MB / 250.5 MB, free: 8.016 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.6176815815269947]