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.001146/0.001146, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001109/0.001109, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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.036/1.036, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.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.713e-06/1.713e-06, allocations: 0 / 272.9 MB, free: 1.602 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.747e-05, allocations: 6.312 kB / 272.9 MB, free: 1.594 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002108/0.002135, allocations: 1.55 MB / 274.5 MB, free: 36 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007238/0.002859, allocations: 0.5179 MB / 275 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.232e-05/0.002901, allocations: 4 kB / 275 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.003008, allocations: 19.86 kB / 275 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.501e-05/0.003073, allocations: 11.92 kB / 275 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001591/0.003232, allocations: 35.84 kB / 275.1 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.708e-05/0.00331, allocations: 55.84 kB / 275.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.819e-05/0.003408, allocations: 15.98 kB / 275.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.003577, allocations: 43.84 kB / 275.2 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.439e-05/0.003631, allocations: 27.89 kB / 275.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.003649, allocations: 8 kB / 275.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.001e-05/0.003699, allocations: 19.94 kB / 275.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.003713, allocations: 11.92 kB / 275.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.003743, allocations: 19.98 kB / 275.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.00388, allocations: 51.81 kB / 275.3 MB, free: 15.19 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.003883, allocations: 0 / 275.3 MB, free: 15.19 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.003883, allocations: 0 / 275.3 MB, free: 15.19 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.003887, allocations: 3.938 kB / 275.3 MB, free: 15.19 MB / 266.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.0004578/0.004345, allocations: 400.5 kB / 275.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.004387, allocations: 8.031 kB / 275.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.004426, allocations: 12.89 kB / 275.7 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.316e-05/0.004509, allocations: 120.5 kB / 275.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.004522, allocations: 384 / 275.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.004536, allocations: 8.312 kB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.004693, allocations: 82.86 kB / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.004704, allocations: 192 / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.004718, allocations: 384 / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.004727, allocations: 7.938 kB / 276 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.403e-05/0.004781, allocations: 15.98 kB / 276 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.005172, allocations: 295.7 kB / 276.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.005293, allocations: 47 kB / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.863e-05/0.005332, allocations: 19.67 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.005352, allocations: 3.984 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.005379, allocations: 37.52 kB / 276.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.00538, allocations: 0 / 276.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001962/0.005577, allocations: 65.67 kB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.005612, allocations: 55.41 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.005721, allocations: 173.9 kB / 276.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.005733, allocations: 25.7 kB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.521e-05/0.005789, allocations: 146.8 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.005811, allocations: 7.906 kB / 276.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.005842, allocations: 23.38 kB / 276.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.005961, allocations: 0.4923 MB / 277.3 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.102e-05/0.005982, allocations: 4 kB / 277.3 MB, free: 12.97 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.594e-05/0.006008, allocations: 8.25 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.227e-05/0.00606, allocations: 31.67 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.006063, allocations: 0 / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.391e-05/0.006147, allocations: 65.52 kB / 277.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.006162, allocations: 8 kB / 277.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.006166, allocations: 0 / 277.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.006182, allocations: 0 / 277.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.674e-05/0.006268, allocations: 12 kB / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.006275, allocations: 3.984 kB / 277.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.571e-05/0.006301, allocations: 4 kB / 277.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.006308, allocations: 4 kB / 277.5 MB, free: 12.82 MB / 266.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.567e-05/0.006374, allocations: 156.6 kB / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.00639, allocations: 7.938 kB / 277.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003475/0.006738, allocations: 89.66 kB / 277.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.006741, allocations: 3.984 kB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.006744, allocations: 3.938 kB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.006748, allocations: 0 / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.006868, allocations: 132.6 kB / 277.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.00687, allocations: 0 / 277.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.224e-05/0.006922, allocations: 19.92 kB / 277.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.006926, allocations: 4 kB / 277.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.006934, allocations: 0 / 277.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.006935, allocations: 0 / 277.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.006937, allocations: 4 kB / 277.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.007072, allocations: 211.8 kB / 278.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-06/0.00708, allocations: 11.94 kB / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.007092, allocations: 4.172 kB / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.934e-05/0.007131, allocations: 8 kB / 278.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.007173, allocations: 7.984 kB / 278.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.007177, allocations: 4 kB / 278.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.148e-05/0.007219, allocations: 135.5 kB / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007219, allocations: 0 / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000146/0.007365, allocations: 12 kB / 278.3 MB, free: 11.95 MB / 266.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.0001024/0.007467, allocations: 107.2 kB / 278.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001066/0.007574, allocations: 35.61 kB / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.007575, allocations: 0 / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.129e-05/0.007606, allocations: 23.67 kB / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.007798, allocations: 8 kB / 278.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000298/0.008096, allocations: 174 kB / 278.6 MB, free: 11.56 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.928e-05/0.008135, allocations: 63.28 kB / 278.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.418e-05/0.008159, allocations: 4 kB / 278.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.008194, allocations: 12.5 kB / 278.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.008194, allocations: 0 / 278.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of Templates: time 0.002773/0.01097, allocations: 0.9668 MB / 279.7 MB, free: 10.51 MB / 266.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 -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: 3.023409544955939]