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.001064/0.001064, allocations: 80.72 kB / 22.21 MB, free: 2.293 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.0009666/0.0009666, allocations: 140.4 kB / 25.59 MB, free: 8.918 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.9789/0.9789, allocations: 173.4 MB / 202.3 MB, free: 8.258 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.543e-06/1.543e-06, allocations: 0 / 269.2 MB, free: 9.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/2.96e-05, allocations: 5.547 kB / 269.2 MB, free: 9.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003349/0.003378, allocations: 1.539 MB / 270.7 MB, free: 8.297 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009529/0.004331, allocations: 483.7 kB / 271.2 MB, free: 7.82 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.544e-05/0.004387, allocations: 0.6875 kB / 271.2 MB, free: 7.82 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.004511, allocations: 19.81 kB / 271.2 MB, free: 7.801 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.88e-05/0.0046, allocations: 13.7 kB / 271.2 MB, free: 7.789 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.004803, allocations: 39.84 kB / 271.2 MB, free: 7.75 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.004908, allocations: 59.78 kB / 271.3 MB, free: 7.691 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.005022, allocations: 15.97 kB / 271.3 MB, free: 7.676 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.005191, allocations: 33.25 kB / 271.3 MB, free: 7.645 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.793e-05/0.005259, allocations: 27.91 kB / 271.4 MB, free: 7.617 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.005278, allocations: 4 kB / 271.4 MB, free: 7.613 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.49e-05/0.005343, allocations: 20.61 kB / 271.4 MB, free: 7.594 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.394e-05/0.005367, allocations: 11.94 kB / 271.4 MB, free: 7.582 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.588e-05/0.005393, allocations: 12.58 kB / 271.4 MB, free: 7.57 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.005567, allocations: 65.22 kB / 271.5 MB, free: 7.508 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.00557, allocations: 0 / 271.5 MB, free: 7.508 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.005572, allocations: 0 / 271.5 MB, free: 7.508 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.005576, allocations: 0 / 271.5 MB, free: 7.508 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.0004951/0.006071, allocations: 405.2 kB / 271.9 MB, free: 7.078 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.006116, allocations: 8.031 kB / 271.9 MB, free: 7.07 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.006158, allocations: 6.594 kB / 271.9 MB, free: 7.066 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.871e-05/0.006257, allocations: 116.5 kB / 272 MB, free: 6.926 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.006274, allocations: 8.375 kB / 272 MB, free: 6.918 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.006287, allocations: 4.375 kB / 272 MB, free: 6.914 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.006445, allocations: 75.36 kB / 272.1 MB, free: 6.832 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.006453, allocations: 1.062 kB / 272.1 MB, free: 6.832 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.006464, allocations: 4.375 kB / 272.1 MB, free: 6.828 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.006471, allocations: 4.656 kB / 272.1 MB, free: 6.824 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.756e-05/0.006519, allocations: 15.97 kB / 272.1 MB, free: 6.809 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003379/0.006856, allocations: 280.8 kB / 272.4 MB, free: 6.508 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.411e-05/0.006951, allocations: 39.91 kB / 272.4 MB, free: 6.457 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.854e-05/0.006979, allocations: 19.67 kB / 272.5 MB, free: 6.434 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.006995, allocations: 4.438 kB / 272.5 MB, free: 6.43 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.007021, allocations: 37.39 kB / 272.5 MB, free: 6.383 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 2.084e-06/0.007023, allocations: 0 / 272.5 MB, free: 6.383 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001922/0.007215, allocations: 65.8 kB / 272.6 MB, free: 6.312 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.007255, allocations: 55.41 kB / 272.6 MB, free: 6.246 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.969e-05/0.007345, allocations: 169.8 kB / 272.8 MB, free: 6.062 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.007357, allocations: 25.7 kB / 272.8 MB, free: 6.031 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.07e-05/0.007418, allocations: 142.8 kB / 272.9 MB, free: 5.887 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.007444, allocations: 15.8 kB / 273 MB, free: 5.871 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/0.007493, allocations: 23.38 kB / 273 MB, free: 5.84 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.007661, allocations: 0.4923 MB / 273.5 MB, free: 5.336 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.042e-05/0.007682, allocations: 8 kB / 273.5 MB, free: 5.328 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.83e-05/0.0077, allocations: 4 kB / 273.5 MB, free: 5.324 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.218e-05/0.007762, allocations: 27.61 kB / 273.5 MB, free: 5.293 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.007765, allocations: 0 / 273.5 MB, free: 5.293 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001143/0.007879, allocations: 54.02 kB / 273.6 MB, free: 5.234 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.007899, allocations: 11.92 kB / 273.6 MB, free: 5.223 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.007904, allocations: 0 / 273.6 MB, free: 5.223 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.007915, allocations: 0 / 273.6 MB, free: 5.223 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.78e-05/0.008003, allocations: 16.06 kB / 273.6 MB, free: 5.207 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.105e-06/0.008006, allocations: 0 / 273.6 MB, free: 5.207 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.675e-05/0.008043, allocations: 11.94 kB / 273.6 MB, free: 5.195 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.008048, allocations: 4 kB / 273.6 MB, free: 5.191 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 8.036e-05/0.008129, allocations: 160.6 kB / 273.8 MB, free: 5.023 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.008156, allocations: 7.938 kB / 273.8 MB, free: 5.016 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.008287, allocations: 69.72 kB / 273.8 MB, free: 4.938 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.008291, allocations: 4 kB / 273.8 MB, free: 4.934 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.008293, allocations: 0 / 273.8 MB, free: 4.934 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.008298, allocations: 3.984 kB / 273.8 MB, free: 4.93 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.008442, allocations: 113.2 kB / 274 MB, free: 4.793 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.008444, allocations: 4 kB / 274 MB, free: 4.789 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.936e-05/0.008503, allocations: 16 kB / 274 MB, free: 4.773 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.008505, allocations: 0 / 274 MB, free: 4.773 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.008514, allocations: 7.922 kB / 274 MB, free: 4.766 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.008515, allocations: 0 / 274 MB, free: 4.766 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.008516, allocations: 0 / 274 MB, free: 4.766 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.008668, allocations: 211.9 kB / 274.2 MB, free: 4.539 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.298e-05/0.008681, allocations: 11.89 kB / 274.2 MB, free: 4.527 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.008694, allocations: 3.938 kB / 274.2 MB, free: 4.523 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.571e-05/0.00876, allocations: 7.984 kB / 274.2 MB, free: 4.516 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.008795, allocations: 8 kB / 274.2 MB, free: 4.508 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.008799, allocations: 0 / 274.2 MB, free: 4.508 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.696e-05/0.008846, allocations: 135.2 kB / 274.4 MB, free: 4.375 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008846, allocations: 0 / 274.4 MB, free: 4.375 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00024/0.009086, allocations: 8 kB / 274.4 MB, free: 4.367 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 0.0001403/0.009227, allocations: 103.2 kB / 274.5 MB, free: 4.258 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001091/0.009336, allocations: 31.61 kB / 274.5 MB, free: 4.223 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.009337, allocations: 0 / 274.5 MB, free: 4.223 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.806e-05/0.009375, allocations: 23.67 kB / 274.5 MB, free: 4.195 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.009667, allocations: 12.31 kB / 274.5 MB, free: 4.184 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00032/0.009987, allocations: 173.9 kB / 274.7 MB, free: 3.984 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.393e-05/0.01003, allocations: 59.3 kB / 274.8 MB, free: 3.906 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.159e-05/0.01006, allocations: 7.984 kB / 274.8 MB, free: 3.898 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.044e-05/0.01013, allocations: 78.2 kB / 274.8 MB, free: 3.82 MB / 250.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01013, allocations: 4 kB / 274.8 MB, free: 3.816 MB / 250.7 MB Notification: Performance of Templates: time 0.003806/0.01394, allocations: 1.096 MB / 275.9 MB, free: 2.738 MB / 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 -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.6943016056902707]