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.0008366/0.0008366, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001294/0.002131, allocations: 445.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.0008585/0.0008585, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001087/0.001945, allocations: 463.6 kB / 11.71 MB, free: 2.453 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.9064/0.9064, allocations: 158.6 MB / 171.1 MB, free: 2.574 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1692/1.076, allocations: 49.48 MB / 220.5 MB, free: 1.449 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.352e-06/1.352e-06, allocations: 0 / 221.8 MB, free: 216 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.769e-05/1.905e-05, allocations: 5.406 kB / 221.8 MB, free: 212 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.00215/0.002169, allocations: 1.58 MB / 223.4 MB, free: 14.61 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006093/0.002779, allocations: 0.5304 MB / 223.9 MB, free: 14.07 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.947e-05/0.002818, allocations: 0 / 223.9 MB, free: 14.07 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.418e-05/0.002882, allocations: 19.86 kB / 223.9 MB, free: 14.05 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 3.784e-05/0.00292, allocations: 15.86 kB / 223.9 MB, free: 14.04 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001105/0.003031, allocations: 39.84 kB / 224 MB, free: 14 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.044e-05/0.003101, allocations: 55.84 kB / 224 MB, free: 13.94 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.59e-05/0.003177, allocations: 15.92 kB / 224.1 MB, free: 13.93 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.003297, allocations: 43.91 kB / 224.1 MB, free: 13.88 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.564e-05/0.003353, allocations: 27.89 kB / 224.1 MB, free: 13.86 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.003368, allocations: 4 kB / 224.1 MB, free: 13.85 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.155e-05/0.00343, allocations: 16 kB / 224.1 MB, free: 13.84 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.003444, allocations: 11.94 kB / 224.2 MB, free: 13.82 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.89e-05/0.003463, allocations: 11.94 kB / 224.2 MB, free: 13.81 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.003587, allocations: 59.77 kB / 224.2 MB, free: 13.75 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.422e-05/0.003601, allocations: 0 / 224.2 MB, free: 13.75 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.003602, allocations: 0 / 224.2 MB, free: 13.75 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.003614, allocations: 0 / 224.2 MB, free: 13.75 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.0004995/0.004114, allocations: 361.5 kB / 224.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.00415, allocations: 8.031 kB / 224.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/0.004181, allocations: 8.938 kB / 224.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.254e-05/0.004264, allocations: 113.7 kB / 224.7 MB, free: 13.21 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.004278, allocations: 4.375 kB / 224.7 MB, free: 13.2 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.004287, allocations: 4.375 kB / 224.7 MB, free: 13.2 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.004406, allocations: 82.86 kB / 224.8 MB, free: 13.11 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.004413, allocations: 192 / 224.8 MB, free: 13.11 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.00442, allocations: 384 / 224.8 MB, free: 13.11 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.004426, allocations: 7.938 kB / 224.8 MB, free: 13.1 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.074e-05/0.004457, allocations: 11.98 kB / 224.8 MB, free: 13.09 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002282/0.004685, allocations: 176.2 kB / 225 MB, free: 12.9 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.723e-05/0.004763, allocations: 34.56 kB / 225 MB, free: 12.86 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.304e-05/0.004786, allocations: 8.859 kB / 225 MB, free: 12.85 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.004798, allocations: 0 / 225 MB, free: 12.85 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.004819, allocations: 46.62 kB / 225.1 MB, free: 12.79 MB / 234.7 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.00482, allocations: 0 / 225.1 MB, free: 12.79 MB / 234.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001119/0.004932, allocations: 57.7 kB / 225.1 MB, free: 12.73 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.004961, allocations: 55.41 kB / 225.2 MB, free: 12.66 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.894e-05/0.00501, allocations: 114.7 kB / 225.3 MB, free: 12.54 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.005021, allocations: 25.7 kB / 225.3 MB, free: 12.51 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.695e-05/0.005048, allocations: 92.09 kB / 225.4 MB, free: 12.41 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.005069, allocations: 23.77 kB / 225.4 MB, free: 12.39 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/0.005095, allocations: 21.7 kB / 225.5 MB, free: 12.36 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.651e-05/0.005162, allocations: 310.8 kB / 225.8 MB, free: 12.05 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.372e-05/0.005175, allocations: 7.984 kB / 225.8 MB, free: 12.04 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.102e-05/0.005186, allocations: 8 kB / 225.8 MB, free: 12.04 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.203e-05/0.005218, allocations: 28.77 kB / 225.8 MB, free: 12 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.00522, allocations: 0 / 225.8 MB, free: 12 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.17e-05/0.005272, allocations: 49.62 kB / 225.9 MB, free: 11.95 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.005283, allocations: 4 kB / 225.9 MB, free: 11.95 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.005288, allocations: 0 / 225.9 MB, free: 11.95 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/0.005295, allocations: 0 / 225.9 MB, free: 11.95 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.687e-05/0.005372, allocations: 15.98 kB / 225.9 MB, free: 11.93 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-06/0.005374, allocations: 0 / 225.9 MB, free: 11.93 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.291e-05/0.005397, allocations: 11.95 kB / 225.9 MB, free: 11.92 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.005404, allocations: 11.98 kB / 225.9 MB, free: 11.91 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.943e-05/0.005454, allocations: 109.8 kB / 226 MB, free: 11.79 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.005468, allocations: 7.938 kB / 226 MB, free: 11.78 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.484e-05/0.005553, allocations: 57.8 kB / 226.1 MB, free: 11.72 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.005555, allocations: 0 / 226.1 MB, free: 11.72 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.005557, allocations: 0 / 226.1 MB, free: 11.72 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.005561, allocations: 3.984 kB / 226.1 MB, free: 11.72 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.005662, allocations: 89.88 kB / 226.2 MB, free: 11.61 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.005663, allocations: 0 / 226.2 MB, free: 11.61 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.359e-05/0.005717, allocations: 12.44 kB / 226.2 MB, free: 11.6 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.967e-06/0.005726, allocations: 15.94 kB / 226.2 MB, free: 11.59 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.005728, allocations: 3.938 kB / 226.2 MB, free: 11.58 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.005733, allocations: 0 / 226.2 MB, free: 11.58 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.005736, allocations: 4 kB / 226.2 MB, free: 11.58 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.005738, allocations: 3.984 kB / 226.2 MB, free: 11.57 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.654e-05/0.005824, allocations: 163.6 kB / 226.4 MB, free: 11.4 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-06/0.005834, allocations: 3.984 kB / 226.4 MB, free: 11.39 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.579e-05/0.00587, allocations: 7.938 kB / 226.4 MB, free: 11.39 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.005901, allocations: 7.984 kB / 226.4 MB, free: 11.38 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.005904, allocations: 4 kB / 226.4 MB, free: 11.38 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.759e-05/0.005921, allocations: 16.84 kB / 226.4 MB, free: 11.36 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005921, allocations: 0 / 226.4 MB, free: 11.36 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.000123/0.006044, allocations: 19.88 kB / 226.4 MB, free: 11.34 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 9.791e-05/0.006142, allocations: 76.42 kB / 226.5 MB, free: 11.25 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 7.775e-05/0.00622, allocations: 32.77 kB / 226.5 MB, free: 11.21 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.006226, allocations: 4 kB / 226.5 MB, free: 11.21 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.273e-05/0.006249, allocations: 16.86 kB / 226.5 MB, free: 11.19 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.006401, allocations: 20.64 kB / 226.6 MB, free: 11.17 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000412/0.006813, allocations: 167.3 kB / 226.7 MB, free: 10.98 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.373e-05/0.006846, allocations: 59.34 kB / 226.8 MB, free: 10.91 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.435e-05/0.006871, allocations: 4 kB / 226.8 MB, free: 10.9 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.512e-05/0.006926, allocations: 55.38 kB / 226.8 MB, free: 10.85 MB / 234.7 MB Notification: Performance of SimCode: time 6.71e-07/0.006926, allocations: 0 / 226.8 MB, free: 10.85 MB / 234.7 MB Notification: Performance of Templates: time 0.002437/0.009364, allocations: 0.9474 MB / 227.8 MB, free: 9.902 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5760725513100624]