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.001148/0.001148, allocations: 84.39 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001177/0.001177, allocations: 166.9 kB / 25.61 MB, free: 8.91 MB / 18.57 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 1.052/1.052, allocations: 158.6 MB / 187.5 MB, free: 2.793 MB / 170.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 2.545e-06/2.545e-06, allocations: 3.938 kB / 251.4 MB, free: 7.297 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.391e-05, allocations: 2.312 kB / 251.4 MB, free: 7.293 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002836/0.00286, allocations: 1.521 MB / 252.9 MB, free: 5.758 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009611/0.003821, allocations: 0.5228 MB / 253.5 MB, free: 5.227 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.79e-05/0.003879, allocations: 4 kB / 253.5 MB, free: 5.223 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.003982, allocations: 11.88 kB / 253.5 MB, free: 5.211 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.473e-05/0.004057, allocations: 15.86 kB / 253.5 MB, free: 5.195 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.004236, allocations: 39.84 kB / 253.5 MB, free: 5.156 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.6e-05/0.004322, allocations: 55.83 kB / 253.6 MB, free: 5.102 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.771e-05/0.00442, allocations: 23.98 kB / 253.6 MB, free: 5.078 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.004565, allocations: 39.91 kB / 253.7 MB, free: 5.039 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.372e-05/0.004618, allocations: 15.97 kB / 253.7 MB, free: 5.023 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.004636, allocations: 11.94 kB / 253.7 MB, free: 5.012 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.428e-05/0.0047, allocations: 19.92 kB / 253.7 MB, free: 4.992 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.96e-05/0.00472, allocations: 12 kB / 253.7 MB, free: 4.98 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/0.004742, allocations: 15.92 kB / 253.7 MB, free: 4.965 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.004883, allocations: 55.81 kB / 253.8 MB, free: 4.91 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.004885, allocations: 0 / 253.8 MB, free: 4.91 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.004886, allocations: 0 / 253.8 MB, free: 4.91 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.004889, allocations: 0 / 253.8 MB, free: 4.91 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.0004701/0.005359, allocations: 404.4 kB / 254.2 MB, free: 4.48 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.005404, allocations: 15.98 kB / 254.2 MB, free: 4.465 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.005438, allocations: 8.891 kB / 254.2 MB, free: 4.457 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.252e-05/0.005531, allocations: 128.4 kB / 254.3 MB, free: 4.305 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.005547, allocations: 8.375 kB / 254.3 MB, free: 4.297 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.005556, allocations: 384 / 254.3 MB, free: 4.297 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.005701, allocations: 74.92 kB / 254.4 MB, free: 4.215 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.005708, allocations: 192 / 254.4 MB, free: 4.215 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.005716, allocations: 384 / 254.4 MB, free: 4.215 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.005724, allocations: 11.94 kB / 254.4 MB, free: 4.203 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.878e-05/0.005763, allocations: 15.92 kB / 254.4 MB, free: 4.188 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000589/0.006352, allocations: 268.4 kB / 254.7 MB, free: 3.898 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.302e-05/0.006445, allocations: 43.14 kB / 254.7 MB, free: 3.844 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.416e-05/0.006469, allocations: 19.61 kB / 254.8 MB, free: 3.82 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.00649, allocations: 7.938 kB / 254.8 MB, free: 3.812 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.006512, allocations: 37.33 kB / 254.8 MB, free: 3.766 MB / 234.7 MB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.006513, allocations: 0 / 254.8 MB, free: 3.766 MB / 234.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001576/0.006671, allocations: 61.77 kB / 254.9 MB, free: 3.699 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.006704, allocations: 55.41 kB / 254.9 MB, free: 3.633 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.006828, allocations: 177.8 kB / 255.1 MB, free: 3.441 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.00684, allocations: 25.7 kB / 255.1 MB, free: 3.41 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.34e-05/0.006893, allocations: 146.8 kB / 255.3 MB, free: 3.262 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.006917, allocations: 11.84 kB / 255.3 MB, free: 3.25 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.96e-05/0.006986, allocations: 27.36 kB / 255.3 MB, free: 3.215 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.007122, allocations: 0.4884 MB / 255.8 MB, free: 2.715 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.803e-05/0.00714, allocations: 0 / 255.8 MB, free: 2.715 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.587e-05/0.007156, allocations: 8 kB / 255.8 MB, free: 2.707 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.467e-05/0.007201, allocations: 23.67 kB / 255.8 MB, free: 2.68 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.007203, allocations: 0 / 255.8 MB, free: 2.68 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.97e-05/0.007292, allocations: 57.59 kB / 255.9 MB, free: 2.617 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.007309, allocations: 11.98 kB / 255.9 MB, free: 2.605 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.007314, allocations: 0 / 255.9 MB, free: 2.605 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.007326, allocations: 0 / 255.9 MB, free: 2.605 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-05/0.007409, allocations: 15.94 kB / 255.9 MB, free: 2.59 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.007412, allocations: 448 / 255.9 MB, free: 2.59 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.273e-05/0.007445, allocations: 7.984 kB / 255.9 MB, free: 2.582 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.00745, allocations: 0 / 255.9 MB, free: 2.582 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 8.037e-05/0.00753, allocations: 164.6 kB / 256.1 MB, free: 2.41 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.007554, allocations: 11.89 kB / 256.1 MB, free: 2.398 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.007679, allocations: 69.8 kB / 256.2 MB, free: 2.324 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.007681, allocations: 0 / 256.2 MB, free: 2.324 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.007684, allocations: 4 kB / 256.2 MB, free: 2.32 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.007688, allocations: 3.984 kB / 256.2 MB, free: 2.316 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.007824, allocations: 113.2 kB / 256.3 MB, free: 2.18 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.007826, allocations: 0 / 256.3 MB, free: 2.18 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.624e-05/0.007882, allocations: 15.94 kB / 256.3 MB, free: 2.164 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.007884, allocations: 4 kB / 256.3 MB, free: 2.16 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.007893, allocations: 7.922 kB / 256.3 MB, free: 2.152 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.007894, allocations: 0 / 256.3 MB, free: 2.152 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.007895, allocations: 4 kB / 256.3 MB, free: 2.148 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.00803, allocations: 211.9 kB / 256.5 MB, free: 1.922 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.028e-05/0.00804, allocations: 7.938 kB / 256.5 MB, free: 1.914 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.008052, allocations: 3.938 kB / 256.5 MB, free: 1.91 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.839e-05/0.008111, allocations: 7.984 kB / 256.5 MB, free: 1.902 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.008144, allocations: 8 kB / 256.5 MB, free: 1.895 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.008148, allocations: 0 / 256.5 MB, free: 1.895 MB / 234.7 MB Notification: Performance of sorting global known variables: time 4.394e-05/0.008192, allocations: 131.1 kB / 256.7 MB, free: 1.766 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008192, allocations: 0 / 256.7 MB, free: 1.766 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.000213/0.008405, allocations: 15.95 kB / 256.7 MB, free: 1.75 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.984e-05/0.008505, allocations: 103.2 kB / 256.8 MB, free: 1.637 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 8.066e-05/0.008585, allocations: 27.67 kB / 256.8 MB, free: 1.605 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.008587, allocations: 0 / 256.8 MB, free: 1.605 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 3.48e-05/0.008622, allocations: 27.61 kB / 256.8 MB, free: 1.57 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.008851, allocations: 8 kB / 256.8 MB, free: 1.562 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002845/0.009136, allocations: 173.1 kB / 257 MB, free: 1.367 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.846e-05/0.009174, allocations: 55.36 kB / 257.1 MB, free: 1.293 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.263e-05/0.009207, allocations: 7.984 kB / 257.1 MB, free: 1.285 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.782e-05/0.009275, allocations: 78.2 kB / 257.1 MB, free: 1.207 MB / 234.7 MB Notification: Performance of SimCode: time 4.71e-07/0.009275, allocations: 0 / 257.1 MB, free: 1.207 MB / 234.7 MB Notification: Performance of Templates: time 0.002917/0.01219, allocations: 1.068 MB / 258.2 MB, free: 152 kB / 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 -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.805168502032757]