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.001164/0.001164, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.001125/0.001125, allocations: 159.6 kB / 25.74 MB, free: 8.93 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 0.9179/0.9179, allocations: 158.6 MB / 187.5 MB, free: 2.922 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.314e-06/2.314e-06, allocations: 0 / 251.1 MB, free: 7.953 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.811e-05, allocations: 6.312 kB / 251.1 MB, free: 7.945 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001976/0.002004, allocations: 1.521 MB / 252.6 MB, free: 6.41 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000708/0.002712, allocations: 0.5267 MB / 253.1 MB, free: 5.875 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.508e-05/0.002757, allocations: 0 / 253.1 MB, free: 5.875 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.873e-05/0.002856, allocations: 19.8 kB / 253.1 MB, free: 5.855 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.097e-05/0.002937, allocations: 15.86 kB / 253.1 MB, free: 5.84 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000172/0.003109, allocations: 39.84 kB / 253.2 MB, free: 5.801 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.236e-05/0.003191, allocations: 51.8 kB / 253.2 MB, free: 5.75 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.22e-05/0.003283, allocations: 23.97 kB / 253.3 MB, free: 5.727 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.003398, allocations: 31.97 kB / 253.3 MB, free: 5.695 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.776e-05/0.003445, allocations: 19.91 kB / 253.3 MB, free: 5.676 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.003461, allocations: 12 kB / 253.3 MB, free: 5.664 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.318e-05/0.003514, allocations: 19.98 kB / 253.3 MB, free: 5.645 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.003532, allocations: 15.92 kB / 253.4 MB, free: 5.629 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.356e-05/0.003555, allocations: 12 kB / 253.4 MB, free: 5.617 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.003685, allocations: 59.75 kB / 253.4 MB, free: 5.559 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.003689, allocations: 3.984 kB / 253.4 MB, free: 5.555 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.00369, allocations: 0 / 253.4 MB, free: 5.555 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.003694, allocations: 3.938 kB / 253.4 MB, free: 5.551 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.0004424/0.004136, allocations: 392.4 kB / 253.8 MB, free: 5.133 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.004172, allocations: 19.98 kB / 253.8 MB, free: 5.113 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.004214, allocations: 12.89 kB / 253.8 MB, free: 5.102 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.187e-05/0.004296, allocations: 112.6 kB / 254 MB, free: 4.965 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.004309, allocations: 4.375 kB / 254 MB, free: 4.961 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-06/0.004319, allocations: 384 / 254 MB, free: 4.961 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.004467, allocations: 82.86 kB / 254 MB, free: 4.871 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.004473, allocations: 192 / 254 MB, free: 4.871 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.004484, allocations: 4.375 kB / 254 MB, free: 4.867 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.004492, allocations: 7.922 kB / 254.1 MB, free: 4.859 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.199e-05/0.004543, allocations: 19.98 kB / 254.1 MB, free: 4.84 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003178/0.004861, allocations: 299.6 kB / 254.4 MB, free: 4.512 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.707e-05/0.004958, allocations: 50.98 kB / 254.4 MB, free: 4.449 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.329e-05/0.004992, allocations: 11.69 kB / 254.4 MB, free: 4.434 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.005006, allocations: 3.984 kB / 254.4 MB, free: 4.43 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.00503, allocations: 41.52 kB / 254.5 MB, free: 4.379 MB / 234.7 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.005031, allocations: 0 / 254.5 MB, free: 4.379 MB / 234.7 MB Notification: Performance of matching and sorting (n=5): time 0.000164/0.005195, allocations: 61.67 kB / 254.5 MB, free: 4.312 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.005222, allocations: 55.41 kB / 254.6 MB, free: 4.246 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.566e-05/0.005297, allocations: 173.9 kB / 254.8 MB, free: 4.059 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.005308, allocations: 25.7 kB / 254.8 MB, free: 4.027 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/0.005365, allocations: 142.8 kB / 254.9 MB, free: 3.883 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.005387, allocations: 15.83 kB / 254.9 MB, free: 3.867 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.005415, allocations: 23.38 kB / 255 MB, free: 3.836 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.005541, allocations: 0.4884 MB / 255.4 MB, free: 3.336 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.232e-05/0.005563, allocations: 7.984 kB / 255.5 MB, free: 3.328 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.571e-05/0.005579, allocations: 4 kB / 255.5 MB, free: 3.324 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.52e-05/0.005624, allocations: 36 kB / 255.5 MB, free: 3.285 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.005626, allocations: 0 / 255.5 MB, free: 3.285 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.496e-05/0.005701, allocations: 61.58 kB / 255.6 MB, free: 3.219 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.005713, allocations: 4 kB / 255.6 MB, free: 3.215 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.005717, allocations: 7.984 kB / 255.6 MB, free: 3.207 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.005728, allocations: 0 / 255.6 MB, free: 3.207 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.315e-05/0.005802, allocations: 15.98 kB / 255.6 MB, free: 3.191 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.005806, allocations: 3.938 kB / 255.6 MB, free: 3.188 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.814e-05/0.005834, allocations: 11.98 kB / 255.6 MB, free: 3.176 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.00584, allocations: 4 kB / 255.6 MB, free: 3.172 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 5.891e-05/0.005899, allocations: 156.5 kB / 255.8 MB, free: 3.008 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.00592, allocations: 7.938 kB / 255.8 MB, free: 3 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.00604, allocations: 69.8 kB / 255.8 MB, free: 2.926 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.006042, allocations: 4 kB / 255.8 MB, free: 2.922 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.006045, allocations: 0 / 255.8 MB, free: 2.922 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.006048, allocations: 4 kB / 255.8 MB, free: 2.918 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.006155, allocations: 140.5 kB / 256 MB, free: 2.746 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.006156, allocations: 0 / 256 MB, free: 2.746 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.782e-05/0.006204, allocations: 19.92 kB / 256 MB, free: 2.727 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.006205, allocations: 0 / 256 MB, free: 2.727 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.006212, allocations: 0 / 256 MB, free: 2.727 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.006213, allocations: 0 / 256 MB, free: 2.727 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.006214, allocations: 0 / 256 MB, free: 2.727 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.00639, allocations: 215.9 kB / 256.2 MB, free: 2.496 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-06/0.006399, allocations: 15.83 kB / 256.2 MB, free: 2.48 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.00641, allocations: 4 kB / 256.2 MB, free: 2.477 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.936e-05/0.006449, allocations: 7.984 kB / 256.2 MB, free: 2.469 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.006484, allocations: 7.984 kB / 256.2 MB, free: 2.461 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.006489, allocations: 4.062 kB / 256.2 MB, free: 2.457 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.714e-05/0.006526, allocations: 123.2 kB / 256.4 MB, free: 2.336 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006526, allocations: 0 / 256.4 MB, free: 2.336 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001469/0.006673, allocations: 16 kB / 256.4 MB, free: 2.32 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.955e-05/0.006772, allocations: 103.2 kB / 256.5 MB, free: 2.207 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001054/0.006878, allocations: 43.59 kB / 256.5 MB, free: 2.16 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.006879, allocations: 0 / 256.5 MB, free: 2.16 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.857e-05/0.006908, allocations: 19.69 kB / 256.5 MB, free: 2.137 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.007098, allocations: 15.94 kB / 256.6 MB, free: 2.121 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002807/0.007378, allocations: 169 kB / 256.7 MB, free: 1.93 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.401e-05/0.007412, allocations: 59.34 kB / 256.8 MB, free: 1.852 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.081e-05/0.007433, allocations: 8 kB / 256.8 MB, free: 1.844 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.007464, allocations: 8.5 kB / 256.8 MB, free: 1.836 MB / 234.7 MB Notification: Performance of SimCode: time 7.51e-07/0.007464, allocations: 4 kB / 256.8 MB, free: 1.832 MB / 234.7 MB Notification: Performance of Templates: time 0.002715/0.01018, allocations: 0.9754 MB / 257.8 MB, free: 0.8633 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 -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.6269389260560274]