Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.000737/0.000737, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001063/0.0018, allocations: 453.8 kB / 10.46 MB, free: 236 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.0006843/0.0006843, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009293/0.001614, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9074/0.9074, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1413/1.049, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 222 MB, free: 104 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.465e-05, allocations: 2.312 kB / 222 MB, free: 100 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002411/0.002436, allocations: 1.588 MB / 223.5 MB, free: 14.49 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007528/0.003189, allocations: 0.5267 MB / 224.1 MB, free: 13.95 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.131e-05/0.00324, allocations: 0 / 224.1 MB, free: 13.95 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.801e-05/0.003308, allocations: 19.86 kB / 224.1 MB, free: 13.93 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 3.681e-05/0.003345, allocations: 7.875 kB / 224.1 MB, free: 13.93 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001139/0.003459, allocations: 47.83 kB / 224.1 MB, free: 13.88 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.346e-05/0.003532, allocations: 55.8 kB / 224.2 MB, free: 13.82 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.195e-05/0.003614, allocations: 15.98 kB / 224.2 MB, free: 13.81 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.003755, allocations: 43.83 kB / 224.3 MB, free: 13.77 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.913e-05/0.003814, allocations: 19.97 kB / 224.3 MB, free: 13.75 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.00383, allocations: 8 kB / 224.3 MB, free: 13.74 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.947e-05/0.00389, allocations: 19.94 kB / 224.3 MB, free: 13.72 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.003905, allocations: 8 kB / 224.3 MB, free: 13.71 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.819e-05/0.003923, allocations: 19.88 kB / 224.3 MB, free: 13.69 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.004048, allocations: 43.83 kB / 224.4 MB, free: 13.65 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.21e-05/0.00406, allocations: 4 kB / 224.4 MB, free: 13.64 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.004061, allocations: 4 kB / 224.4 MB, free: 13.64 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.004071, allocations: 0 / 224.4 MB, free: 13.64 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.0004486/0.004519, allocations: 361.5 kB / 224.7 MB, free: 13.25 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.00455, allocations: 12.02 kB / 224.7 MB, free: 13.23 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.839e-05/0.004578, allocations: 4.938 kB / 224.7 MB, free: 13.23 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.104e-05/0.004669, allocations: 113.8 kB / 224.9 MB, free: 13.09 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.004684, allocations: 4.312 kB / 224.9 MB, free: 13.09 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.004699, allocations: 8.375 kB / 224.9 MB, free: 13.08 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.004818, allocations: 74.92 kB / 224.9 MB, free: 13 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.004825, allocations: 192 / 224.9 MB, free: 13 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.004832, allocations: 4.375 kB / 224.9 MB, free: 13 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.004837, allocations: 3.938 kB / 225 MB, free: 12.99 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.909e-05/0.004866, allocations: 11.98 kB / 225 MB, free: 12.98 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002425/0.005109, allocations: 184.2 kB / 225.1 MB, free: 12.79 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.988e-05/0.005189, allocations: 34.55 kB / 225.2 MB, free: 12.74 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.397e-05/0.005213, allocations: 12.98 kB / 225.2 MB, free: 12.73 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.00523, allocations: 8 kB / 225.2 MB, free: 12.72 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.005257, allocations: 50.47 kB / 225.2 MB, free: 12.66 MB / 234.7 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.005259, allocations: 0 / 225.2 MB, free: 12.66 MB / 234.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001255/0.005384, allocations: 49.69 kB / 225.3 MB, free: 12.61 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.00541, allocations: 51.41 kB / 225.3 MB, free: 12.54 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.491e-05/0.005465, allocations: 118.6 kB / 225.5 MB, free: 12.41 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.005477, allocations: 29.7 kB / 225.5 MB, free: 12.38 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.303e-05/0.00551, allocations: 88.08 kB / 225.6 MB, free: 12.29 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.005531, allocations: 19.83 kB / 225.6 MB, free: 12.27 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.005565, allocations: 17.72 kB / 225.6 MB, free: 12.25 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.431e-05/0.005639, allocations: 318.8 kB / 225.9 MB, free: 11.93 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.466e-05/0.005654, allocations: 7.938 kB / 225.9 MB, free: 11.92 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.273e-05/0.005667, allocations: 8 kB / 225.9 MB, free: 11.91 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.284e-05/0.0057, allocations: 20.84 kB / 226 MB, free: 11.89 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.005701, allocations: 0 / 226 MB, free: 11.89 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.224e-05/0.005764, allocations: 53.62 kB / 226 MB, free: 11.83 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.005775, allocations: 4 kB / 226 MB, free: 11.82 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.005781, allocations: 3.984 kB / 226 MB, free: 11.82 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.005798, allocations: 4 kB / 226 MB, free: 11.82 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.386e-05/0.005882, allocations: 8 kB / 226 MB, free: 11.81 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.005886, allocations: 7.938 kB / 226 MB, free: 11.8 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.47e-05/0.005911, allocations: 11.94 kB / 226.1 MB, free: 11.79 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-06/0.005915, allocations: 4 kB / 226.1 MB, free: 11.79 MB / 234.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 4.96e-05/0.005965, allocations: 105.8 kB / 226.2 MB, free: 11.67 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/0.005982, allocations: 15.92 kB / 226.2 MB, free: 11.66 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.513e-05/0.006067, allocations: 57.8 kB / 226.2 MB, free: 11.6 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.006069, allocations: 0 / 226.2 MB, free: 11.6 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.006071, allocations: 4 kB / 226.2 MB, free: 11.59 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.006074, allocations: 0 / 226.2 MB, free: 11.59 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.161e-05/0.006166, allocations: 81.88 kB / 226.3 MB, free: 11.5 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.006168, allocations: 448 / 226.3 MB, free: 11.5 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.364e-05/0.006221, allocations: 19.92 kB / 226.3 MB, free: 11.48 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-06/0.006229, allocations: 11.95 kB / 226.3 MB, free: 11.46 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.006233, allocations: 7.938 kB / 226.4 MB, free: 11.46 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.006239, allocations: 4 kB / 226.4 MB, free: 11.45 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.006242, allocations: 4 kB / 226.4 MB, free: 11.45 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006242, allocations: 3.938 kB / 226.4 MB, free: 11.45 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.868e-05/0.006331, allocations: 155.6 kB / 226.5 MB, free: 11.28 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.696e-06/0.00634, allocations: 0 / 226.5 MB, free: 11.28 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.89e-05/0.006379, allocations: 11.92 kB / 226.5 MB, free: 11.27 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.87e-05/0.006407, allocations: 8 kB / 226.5 MB, free: 11.26 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.006412, allocations: 3.984 kB / 226.5 MB, free: 11.25 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.595e-05/0.006428, allocations: 16.86 kB / 226.6 MB, free: 11.23 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006428, allocations: 0 / 226.6 MB, free: 11.23 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001264/0.006554, allocations: 15.94 kB / 226.6 MB, free: 11.22 MB / 234.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 0.0001117/0.006666, allocations: 88.33 kB / 226.7 MB, free: 11.12 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 7.081e-05/0.006737, allocations: 20.86 kB / 226.7 MB, free: 11.1 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.006741, allocations: 0 / 226.7 MB, free: 11.1 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 3.476e-05/0.006776, allocations: 28.84 kB / 226.7 MB, free: 11.07 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.006939, allocations: 63.41 kB / 226.8 MB, free: 10.99 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004346/0.007373, allocations: 171.3 kB / 226.9 MB, free: 10.8 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.259e-05/0.007406, allocations: 63.3 kB / 227 MB, free: 10.72 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.28e-05/0.007439, allocations: 3.984 kB / 227 MB, free: 10.71 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.491e-05/0.007494, allocations: 59.31 kB / 227.1 MB, free: 10.66 MB / 234.7 MB Notification: Performance of SimCode: time 7.92e-07/0.007495, allocations: 0 / 227.1 MB, free: 10.66 MB / 234.7 MB Notification: Performance of Templates: time 0.002341/0.009836, allocations: 0.9572 MB / 228 MB, free: 9.703 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.524722144007683]