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.001057/0.001057, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001309/0.001309, allocations: 169 kB / 24.91 MB, free: 8.723 MB / 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 0.9531/0.9531, allocations: 177.1 MB / 205.3 MB, free: 4.492 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.253e-06/1.253e-06, allocations: 0 / 273.4 MB, free: 4.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.88e-05, allocations: 6.25 kB / 273.5 MB, free: 4.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001918/0.001937, allocations: 1.595 MB / 275 MB, free: 2.848 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006708/0.002607, allocations: 0.5209 MB / 275.6 MB, free: 2.324 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.113e-05/0.002649, allocations: 4 kB / 275.6 MB, free: 2.32 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.907e-05/0.002738, allocations: 19.8 kB / 275.6 MB, free: 2.301 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.516e-05/0.002803, allocations: 11.92 kB / 275.6 MB, free: 2.289 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001335/0.002936, allocations: 45.25 kB / 275.6 MB, free: 2.246 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.863e-05/0.003005, allocations: 51.84 kB / 275.7 MB, free: 2.195 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.893e-05/0.003084, allocations: 15.98 kB / 275.7 MB, free: 2.18 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.003234, allocations: 44.73 kB / 275.8 MB, free: 2.137 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.896e-05/0.003283, allocations: 19.97 kB / 275.8 MB, free: 2.117 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.003299, allocations: 8.656 kB / 275.8 MB, free: 2.109 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.675e-05/0.003346, allocations: 19.88 kB / 275.8 MB, free: 2.09 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.003358, allocations: 15.98 kB / 275.8 MB, free: 2.074 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.795e-05/0.003376, allocations: 15.94 kB / 275.8 MB, free: 2.059 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.003489, allocations: 59.78 kB / 275.9 MB, free: 2 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.003491, allocations: 4 kB / 275.9 MB, free: 1.996 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003492, allocations: 0 / 275.9 MB, free: 1.996 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.003495, allocations: 0 / 275.9 MB, free: 1.996 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.0003254/0.00382, allocations: 280.7 kB / 276.2 MB, free: 1.699 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.003851, allocations: 8.031 kB / 276.2 MB, free: 1.691 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/0.003877, allocations: 8.938 kB / 276.2 MB, free: 1.684 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.969e-05/0.003947, allocations: 113.7 kB / 276.3 MB, free: 1.547 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.003959, allocations: 12.38 kB / 276.3 MB, free: 1.535 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-06/0.003967, allocations: 4.375 kB / 276.3 MB, free: 1.531 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.004069, allocations: 70.92 kB / 276.4 MB, free: 1.453 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.004075, allocations: 192 / 276.4 MB, free: 1.453 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.004084, allocations: 4.359 kB / 276.4 MB, free: 1.449 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.00409, allocations: 7.938 kB / 276.4 MB, free: 1.441 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.074e-05/0.004121, allocations: 15.88 kB / 276.4 MB, free: 1.426 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002233/0.004344, allocations: 176.2 kB / 276.6 MB, free: 1.238 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.643e-05/0.004411, allocations: 38.56 kB / 276.6 MB, free: 1.191 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.097e-05/0.004432, allocations: 21 kB / 276.6 MB, free: 1.168 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.004443, allocations: 0 / 276.6 MB, free: 1.168 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.004463, allocations: 38.5 kB / 276.7 MB, free: 1.121 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.004464, allocations: 0 / 276.7 MB, free: 1.121 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 9.963e-05/0.004564, allocations: 49.62 kB / 276.7 MB, free: 1.066 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.004591, allocations: 59.41 kB / 276.8 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.837e-05/0.004639, allocations: 110.7 kB / 276.9 MB, free: 0.875 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.004648, allocations: 25.7 kB / 276.9 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.833e-05/0.004676, allocations: 92.08 kB / 277 MB, free: 0.75 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.004695, allocations: 19.78 kB / 277 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-05/0.004722, allocations: 25.7 kB / 277.1 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.874e-05/0.004791, allocations: 314.8 kB / 277.4 MB, free: 392 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.119e-05/0.004802, allocations: 4 kB / 277.4 MB, free: 388 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.108e-05/0.004813, allocations: 4 kB / 277.4 MB, free: 384 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.627e-05/0.00485, allocations: 24.83 kB / 277.4 MB, free: 356 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.004852, allocations: 0 / 277.4 MB, free: 356 kB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.465e-05/0.004906, allocations: 57.61 kB / 277.4 MB, free: 292 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.004917, allocations: 4 kB / 277.5 MB, free: 288 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.004921, allocations: 0 / 277.5 MB, free: 288 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.004931, allocations: 0 / 277.5 MB, free: 288 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.714e-05/0.004998, allocations: 20.38 kB / 277.5 MB, free: 268 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.005002, allocations: 3.984 kB / 277.5 MB, free: 264 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.164e-05/0.005024, allocations: 7.953 kB / 277.5 MB, free: 256 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.005029, allocations: 4 kB / 277.5 MB, free: 252 kB / 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 4.822e-05/0.005077, allocations: 113.8 kB / 277.6 MB, free: 128 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.67e-05/0.005094, allocations: 11.92 kB / 277.6 MB, free: 116 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.352e-05/0.005168, allocations: 57.8 kB / 277.7 MB, free: 52 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.005169, allocations: 0 / 277.7 MB, free: 52 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.00517, allocations: 0 / 277.7 MB, free: 52 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.005173, allocations: 0 / 277.7 MB, free: 52 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.005275, allocations: 85.81 kB / 277.8 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.005276, allocations: 0 / 277.8 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.481e-05/0.00532, allocations: 23.92 kB / 277.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.005322, allocations: 0 / 277.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-06/0.005328, allocations: 4 kB / 277.8 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.00533, allocations: 3.938 kB / 277.8 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.005331, allocations: 0 / 277.8 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.028e-05/0.005411, allocations: 151.5 kB / 277.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-06/0.005417, allocations: 3.953 kB / 277.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.825e-06/0.005425, allocations: 3.938 kB / 277.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.104e-05/0.005466, allocations: 23.91 kB / 278 MB, free: 15.72 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.005495, allocations: 7.984 kB / 278 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.005498, allocations: 0 / 278 MB, free: 15.71 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.337e-05/0.005511, allocations: 16.8 kB / 278 MB, free: 15.7 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005511, allocations: 0 / 278 MB, free: 15.7 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001127/0.005624, allocations: 12 kB / 278 MB, free: 15.68 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 7.849e-05/0.005703, allocations: 84.41 kB / 278.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.16e-05/0.005764, allocations: 28.84 kB / 278.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.005766, allocations: 0 / 278.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.473e-05/0.005791, allocations: 28.78 kB / 278.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.005915, allocations: 4 kB / 278.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002307/0.006146, allocations: 156.4 kB / 278.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.555e-05/0.006181, allocations: 67.2 kB / 278.4 MB, free: 15.26 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.042e-05/0.006202, allocations: 7.906 kB / 278.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.794e-05/0.00625, allocations: 55.38 kB / 278.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.00625, allocations: 0 / 278.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of Templates: time 0.002339/0.00859, allocations: 0.933 MB / 279.4 MB, free: 14.27 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 -s gbode -gbm=radauIIA3 -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: 2.4773478959687054]