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.00125/0.00125, allocations: 91.61 kB / 22.18 MB, free: 2.383 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.001471/0.001471, allocations: 156.9 kB / 25.44 MB, free: 9.352 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.8837/0.8837, allocations: 158.6 MB / 187.2 MB, free: 3.031 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.124e-06/2.124e-06, allocations: 0 / 299.7 MB, free: 7.051 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.147e-05/3.359e-05, allocations: 2.281 kB / 299.7 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003115/0.003149, allocations: 1.48 MB / 301.1 MB, free: 5.547 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00076/0.003909, allocations: 0.5085 MB / 301.6 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.849e-05/0.003957, allocations: 0 / 301.6 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.004063, allocations: 15.88 kB / 301.7 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.479e-05/0.004128, allocations: 15.86 kB / 301.7 MB, free: 5 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001745/0.004303, allocations: 35.84 kB / 301.7 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.828e-05/0.004391, allocations: 59.78 kB / 301.8 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.004496, allocations: 19.97 kB / 301.8 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.00463, allocations: 35.91 kB / 301.8 MB, free: 4.852 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.465e-05/0.004685, allocations: 27.91 kB / 301.9 MB, free: 4.824 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.004705, allocations: 4 kB / 301.9 MB, free: 4.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.206e-05/0.004767, allocations: 15.98 kB / 301.9 MB, free: 4.805 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/0.004784, allocations: 15.94 kB / 301.9 MB, free: 4.789 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.162e-05/0.004806, allocations: 11.98 kB / 301.9 MB, free: 4.777 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.004975, allocations: 75.72 kB / 302 MB, free: 4.703 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.00498, allocations: 0 / 302 MB, free: 4.703 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.004981, allocations: 0 / 302 MB, free: 4.703 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.004986, allocations: 3.938 kB / 302 MB, free: 4.699 MB / 282.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.000523/0.005509, allocations: 318.1 kB / 302.3 MB, free: 4.359 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.005549, allocations: 11.98 kB / 302.3 MB, free: 4.348 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.005584, allocations: 12.88 kB / 302.3 MB, free: 4.336 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.728e-05/0.005671, allocations: 117.7 kB / 302.4 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.005688, allocations: 384 / 302.4 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.005702, allocations: 8.375 kB / 302.4 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.005896, allocations: 86.14 kB / 302.5 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.005903, allocations: 192 / 302.5 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.005914, allocations: 384 / 302.5 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.00592, allocations: 11.94 kB / 302.5 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.00609, allocations: 79.91 kB / 302.6 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.006443, allocations: 232.4 kB / 302.8 MB, free: 3.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.006614, allocations: 70.47 kB / 302.9 MB, free: 3.672 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.293e-05/0.006697, allocations: 56.94 kB / 303 MB, free: 3.613 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.006714, allocations: 0 / 303 MB, free: 3.613 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.006739, allocations: 30.56 kB / 303 MB, free: 3.574 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 2.004e-06/0.006741, allocations: 3.984 kB / 303 MB, free: 3.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003421/0.007083, allocations: 161.6 kB / 303.2 MB, free: 3.406 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.007118, allocations: 51.41 kB / 303.2 MB, free: 3.344 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.449e-05/0.007183, allocations: 109.8 kB / 303.3 MB, free: 3.227 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.007196, allocations: 25.7 kB / 303.3 MB, free: 3.195 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.448e-05/0.00724, allocations: 92.09 kB / 303.4 MB, free: 3.102 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.007265, allocations: 19.83 kB / 303.4 MB, free: 3.082 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.0073, allocations: 13.72 kB / 303.5 MB, free: 3.062 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.007405, allocations: 318.8 kB / 303.8 MB, free: 2.742 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.474e-05/0.007499, allocations: 40.33 kB / 303.8 MB, free: 2.703 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.994e-05/0.007569, allocations: 39.95 kB / 303.8 MB, free: 2.664 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.007716, allocations: 85.11 kB / 303.9 MB, free: 2.578 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.007718, allocations: 0 / 303.9 MB, free: 2.578 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001849/0.007902, allocations: 125.4 kB / 304.1 MB, free: 2.449 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.007917, allocations: 4 kB / 304.1 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.007922, allocations: 0 / 304.1 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.007936, allocations: 4 kB / 304.1 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.884e-05/0.008025, allocations: 19.92 kB / 304.1 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.008031, allocations: 0 / 304.1 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.361e-05/0.008075, allocations: 19.97 kB / 304.1 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.008081, allocations: 0 / 304.1 MB, free: 2.402 MB / 282.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.783e-05/0.008148, allocations: 117.8 kB / 304.2 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.599e-05/0.008164, allocations: 7.891 kB / 304.2 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.00841, allocations: 137.6 kB / 304.4 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.008415, allocations: 4 kB / 304.4 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.008419, allocations: 0 / 304.4 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.008424, allocations: 0 / 304.4 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.00854, allocations: 117.3 kB / 304.5 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.008541, allocations: 4 kB / 304.5 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.015e-05/0.008601, allocations: 27.91 kB / 304.5 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.008604, allocations: 0 / 304.5 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.008612, allocations: 0 / 304.5 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.008614, allocations: 0 / 304.5 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.008616, allocations: 0 / 304.5 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.008839, allocations: 227.4 kB / 304.7 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.025e-05/0.00885, allocations: 11.94 kB / 304.7 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.008862, allocations: 0 / 304.7 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.262e-05/0.008915, allocations: 11.98 kB / 304.8 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.008955, allocations: 7.984 kB / 304.8 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.341e-06/0.008962, allocations: 4 kB / 304.8 MB, free: 1.68 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.608e-05/0.008998, allocations: 91.27 kB / 304.9 MB, free: 1.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008998, allocations: 0 / 304.9 MB, free: 1.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001579/0.009156, allocations: 11.95 kB / 304.9 MB, free: 1.578 MB / 282.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.0001447/0.0093, allocations: 103.2 kB / 305 MB, free: 1.469 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002173/0.009518, allocations: 91.92 kB / 305.1 MB, free: 1.379 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.00952, allocations: 4 kB / 305.1 MB, free: 1.375 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.995e-05/0.0096, allocations: 40.23 kB / 305.1 MB, free: 1.336 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.009858, allocations: 15.94 kB / 305.1 MB, free: 1.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.0102, allocations: 186.4 kB / 305.3 MB, free: 1.105 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.865e-05/0.01026, allocations: 71.58 kB / 305.4 MB, free: 1.016 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.0103, allocations: 12.5 kB / 305.4 MB, free: 1.004 MB / 282.7 MB Notification: Performance of SimCode: time 9.12e-07/0.0103, allocations: 0 / 305.4 MB, free: 1.004 MB / 282.7 MB Notification: Performance of Templates: time 0.001968/0.01227, allocations: 1.003 MB / 306.4 MB, free: 8 kB / 282.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.214962577447295]