Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 149.3 kB / 24.89 MB, free: 9.16 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9432/0.9432, allocations: 173.4 MB / 201.5 MB, free: 9.215 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 268.5 MB, free: 6.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.578e-05/1.712e-05, allocations: 2.312 kB / 268.5 MB, free: 6.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001896/0.001913, allocations: 1.592 MB / 270.1 MB, free: 4.605 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006568/0.00257, allocations: 494.5 kB / 270.5 MB, free: 4.117 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.682e-05/0.002607, allocations: 0 / 270.5 MB, free: 4.117 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.57e-05/0.002692, allocations: 23.8 kB / 270.6 MB, free: 4.094 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.495e-05/0.002757, allocations: 15.86 kB / 270.6 MB, free: 4.078 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.002896, allocations: 43.84 kB / 270.6 MB, free: 4.035 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.228e-05/0.002968, allocations: 51.8 kB / 270.7 MB, free: 3.984 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.83e-05/0.003046, allocations: 19.97 kB / 270.7 MB, free: 3.965 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.003165, allocations: 31.97 kB / 270.7 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.346e-05/0.003218, allocations: 27.89 kB / 270.8 MB, free: 3.906 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.003233, allocations: 8 kB / 270.8 MB, free: 3.898 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.078e-05/0.003284, allocations: 12 kB / 270.8 MB, free: 3.887 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.0033, allocations: 15.92 kB / 270.8 MB, free: 3.871 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.698e-05/0.003317, allocations: 12 kB / 270.8 MB, free: 3.859 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.003433, allocations: 63.73 kB / 270.9 MB, free: 3.797 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.003434, allocations: 0 / 270.9 MB, free: 3.797 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003435, allocations: 4 kB / 270.9 MB, free: 3.793 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.003438, allocations: 3.938 kB / 270.9 MB, free: 3.789 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.0003416/0.00378, allocations: 276.7 kB / 271.1 MB, free: 3.496 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.003811, allocations: 8.922 kB / 271.1 MB, free: 3.488 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.387e-05/0.003835, allocations: 4.938 kB / 271.2 MB, free: 3.484 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.477e-05/0.003909, allocations: 117.7 kB / 271.3 MB, free: 3.344 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.00392, allocations: 4.375 kB / 271.3 MB, free: 3.34 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.00393, allocations: 8.375 kB / 271.3 MB, free: 3.332 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.004037, allocations: 82.78 kB / 271.4 MB, free: 3.242 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-06/0.004043, allocations: 4.188 kB / 271.4 MB, free: 3.238 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.004052, allocations: 4.375 kB / 271.4 MB, free: 3.234 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.004057, allocations: 3.938 kB / 271.4 MB, free: 3.23 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.53e-05/0.004092, allocations: 11.98 kB / 271.4 MB, free: 3.219 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002159/0.004308, allocations: 184.2 kB / 271.6 MB, free: 3.023 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.22e-05/0.00437, allocations: 30.56 kB / 271.6 MB, free: 2.984 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.69e-05/0.004387, allocations: 8.859 kB / 271.6 MB, free: 2.973 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.004398, allocations: 4 kB / 271.6 MB, free: 2.969 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.004418, allocations: 38.62 kB / 271.6 MB, free: 2.922 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.004419, allocations: 4 kB / 271.7 MB, free: 2.918 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001018/0.004521, allocations: 53.72 kB / 271.7 MB, free: 2.859 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.004546, allocations: 51.41 kB / 271.8 MB, free: 2.797 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.857e-05/0.004594, allocations: 110.7 kB / 271.9 MB, free: 2.676 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.004605, allocations: 29.7 kB / 271.9 MB, free: 2.641 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.788e-05/0.004633, allocations: 96.06 kB / 272 MB, free: 2.543 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.004651, allocations: 15.84 kB / 272 MB, free: 2.527 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/0.004677, allocations: 17.72 kB / 272 MB, free: 2.504 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.791e-05/0.004744, allocations: 318.8 kB / 272.3 MB, free: 2.184 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.164e-05/0.004756, allocations: 4 kB / 272.3 MB, free: 2.18 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.1e-05/0.004767, allocations: 8.375 kB / 272.3 MB, free: 2.172 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.149e-05/0.004799, allocations: 28.78 kB / 272.4 MB, free: 2.141 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.0048, allocations: 0 / 272.4 MB, free: 2.141 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.944e-05/0.004849, allocations: 49.62 kB / 272.4 MB, free: 2.086 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.00486, allocations: 4 kB / 272.4 MB, free: 2.082 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.004865, allocations: 3.984 kB / 272.4 MB, free: 2.078 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.004876, allocations: 4 kB / 272.4 MB, free: 2.074 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.839e-05/0.004934, allocations: 15.94 kB / 272.4 MB, free: 2.059 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.004936, allocations: 0 / 272.4 MB, free: 2.059 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.327e-05/0.00496, allocations: 11.94 kB / 272.5 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.004965, allocations: 8 kB / 272.5 MB, free: 2.039 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.085e-05/0.005015, allocations: 109.8 kB / 272.6 MB, free: 1.922 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.005031, allocations: 7.938 kB / 272.6 MB, free: 1.914 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.689e-05/0.005108, allocations: 69.77 kB / 272.6 MB, free: 1.836 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.00511, allocations: 0 / 272.6 MB, free: 1.836 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.005111, allocations: 0 / 272.6 MB, free: 1.836 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.005114, allocations: 0 / 272.6 MB, free: 1.836 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.257e-05/0.005196, allocations: 81.88 kB / 272.7 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.005197, allocations: 0 / 272.7 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-05/0.005236, allocations: 15.98 kB / 272.7 MB, free: 1.723 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.005238, allocations: 4 kB / 272.7 MB, free: 1.719 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.005243, allocations: 0 / 272.7 MB, free: 1.719 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.005245, allocations: 3.938 kB / 272.7 MB, free: 1.715 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.005249, allocations: 7.938 kB / 272.8 MB, free: 1.707 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.265e-05/0.005332, allocations: 147.5 kB / 272.9 MB, free: 1.547 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.034e-05/0.005342, allocations: 11.88 kB / 272.9 MB, free: 1.535 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.005353, allocations: 4 kB / 272.9 MB, free: 1.531 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.793e-05/0.005391, allocations: 12 kB / 272.9 MB, free: 1.52 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.00542, allocations: 7.984 kB / 272.9 MB, free: 1.512 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.005423, allocations: 4 kB / 272.9 MB, free: 1.508 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.367e-05/0.005437, allocations: 16.84 kB / 273 MB, free: 1.488 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005437, allocations: 0 / 273 MB, free: 1.488 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001157/0.005553, allocations: 12 kB / 273 MB, free: 1.477 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.69e-05/0.005649, allocations: 84.36 kB / 273.1 MB, free: 1.387 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.267e-05/0.005722, allocations: 28.83 kB / 273.1 MB, free: 1.355 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.005725, allocations: 0 / 273.1 MB, free: 1.355 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.579e-05/0.005751, allocations: 20.84 kB / 273.1 MB, free: 1.332 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.005895, allocations: 12 kB / 273.1 MB, free: 1.32 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005006/0.006396, allocations: 160.2 kB / 273.3 MB, free: 1.137 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.061e-05/0.006436, allocations: 59.34 kB / 273.3 MB, free: 1.059 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.568e-05/0.006472, allocations: 4 kB / 273.3 MB, free: 1.055 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.304e-05/0.006535, allocations: 59.38 kB / 273.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of SimCode: time 1.463e-06/0.006536, allocations: 3.938 kB / 273.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of Templates: time 0.002588/0.009124, allocations: 0.9434 MB / 274.3 MB, free: 60 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.2616249988786876]