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.001341/0.001341, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.0009772/0.0009772, allocations: 167.9 kB / 25.69 MB, free: 8.453 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.8694/0.8694, allocations: 158.6 MB / 187.6 MB, free: 2.785 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 1.583e-06/1.583e-06, allocations: 0 / 251.5 MB, free: 7.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.566e-05, allocations: 2.312 kB / 251.5 MB, free: 7.316 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002934/0.00296, allocations: 1.525 MB / 253 MB, free: 5.773 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000935/0.003895, allocations: 0.5305 MB / 253.5 MB, free: 5.234 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.85e-05/0.003943, allocations: 4 kB / 253.5 MB, free: 5.23 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.004052, allocations: 27.78 kB / 253.6 MB, free: 5.203 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.527e-05/0.004137, allocations: 3.938 kB / 253.6 MB, free: 5.199 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.004349, allocations: 47.77 kB / 253.6 MB, free: 5.152 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.004449, allocations: 55.84 kB / 253.7 MB, free: 5.098 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.00455, allocations: 15.98 kB / 253.7 MB, free: 5.082 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.004718, allocations: 39.91 kB / 253.7 MB, free: 5.043 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.735e-05/0.004785, allocations: 23.97 kB / 253.8 MB, free: 5.02 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.004804, allocations: 4 kB / 253.8 MB, free: 5.016 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.45e-05/0.004868, allocations: 19.88 kB / 253.8 MB, free: 4.996 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.273e-05/0.004891, allocations: 11.98 kB / 253.8 MB, free: 4.984 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.612e-05/0.004917, allocations: 23.91 kB / 253.8 MB, free: 4.961 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.005065, allocations: 55.81 kB / 253.9 MB, free: 4.906 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.00507, allocations: 0 / 253.9 MB, free: 4.906 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.005072, allocations: 0 / 253.9 MB, free: 4.906 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.005075, allocations: 0 / 253.9 MB, free: 4.906 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.000435/0.00551, allocations: 280.7 kB / 254.1 MB, free: 4.609 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.005546, allocations: 11.98 kB / 254.2 MB, free: 4.598 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.005581, allocations: 8.938 kB / 254.2 MB, free: 4.59 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.968e-05/0.00567, allocations: 117.7 kB / 254.3 MB, free: 4.449 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.005685, allocations: 384 / 254.3 MB, free: 4.449 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.0057, allocations: 12.38 kB / 254.3 MB, free: 4.438 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.00585, allocations: 74.92 kB / 254.4 MB, free: 4.355 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.005857, allocations: 192 / 254.4 MB, free: 4.355 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.005866, allocations: 384 / 254.4 MB, free: 4.355 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.005872, allocations: 7.938 kB / 254.4 MB, free: 4.348 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.136e-05/0.005913, allocations: 15.88 kB / 254.4 MB, free: 4.332 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002909/0.006204, allocations: 180.2 kB / 254.6 MB, free: 4.141 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.883e-05/0.006303, allocations: 38.58 kB / 254.6 MB, free: 4.094 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.558e-05/0.006328, allocations: 12.86 kB / 254.6 MB, free: 4.078 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.006342, allocations: 0 / 254.6 MB, free: 4.078 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.006367, allocations: 38.62 kB / 254.6 MB, free: 4.031 MB / 234.7 MB Notification: Performance of pre-optimization done (n=5): time 1.153e-06/0.006368, allocations: 0 / 254.6 MB, free: 4.031 MB / 234.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001467/0.006515, allocations: 49.69 kB / 254.7 MB, free: 3.977 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.00655, allocations: 59.39 kB / 254.8 MB, free: 3.906 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.038e-05/0.006621, allocations: 118.6 kB / 254.9 MB, free: 3.777 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.006635, allocations: 29.7 kB / 254.9 MB, free: 3.742 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/0.006672, allocations: 88.03 kB / 255 MB, free: 3.652 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.006705, allocations: 23.78 kB / 255 MB, free: 3.629 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.006744, allocations: 21.7 kB / 255 MB, free: 3.602 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.381e-05/0.006838, allocations: 318.8 kB / 255.3 MB, free: 3.281 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.796e-05/0.006856, allocations: 0 / 255.3 MB, free: 3.281 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.789e-05/0.006873, allocations: 11.98 kB / 255.4 MB, free: 3.27 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.79e-05/0.006921, allocations: 20.84 kB / 255.4 MB, free: 3.246 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.006923, allocations: 0 / 255.4 MB, free: 3.246 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.931e-05/0.007013, allocations: 57.62 kB / 255.4 MB, free: 3.184 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.007026, allocations: 4 kB / 255.4 MB, free: 3.18 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.007031, allocations: 4 kB / 255.4 MB, free: 3.176 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.007044, allocations: 3.938 kB / 255.4 MB, free: 3.172 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.643e-05/0.00713, allocations: 11.98 kB / 255.5 MB, free: 3.16 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-06/0.007133, allocations: 0 / 255.5 MB, free: 3.16 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.481e-05/0.007168, allocations: 8.438 kB / 255.5 MB, free: 3.152 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.007173, allocations: 0 / 255.5 MB, free: 3.152 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 6.625e-05/0.007239, allocations: 105.8 kB / 255.6 MB, free: 3.039 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.007268, allocations: 11.92 kB / 255.6 MB, free: 3.027 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.007396, allocations: 65.8 kB / 255.6 MB, free: 2.957 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.007399, allocations: 0 / 255.6 MB, free: 2.957 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.007401, allocations: 4 kB / 255.6 MB, free: 2.953 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.007405, allocations: 0 / 255.6 MB, free: 2.953 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.007539, allocations: 81.88 kB / 255.7 MB, free: 2.855 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.007544, allocations: 7.922 kB / 255.7 MB, free: 2.848 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.926e-05/0.007613, allocations: 15.98 kB / 255.7 MB, free: 2.832 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.007615, allocations: 0 / 255.7 MB, free: 2.832 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-06/0.007622, allocations: 0 / 255.7 MB, free: 2.832 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.007626, allocations: 3.938 kB / 255.8 MB, free: 2.828 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.007627, allocations: 4 kB / 255.8 MB, free: 2.824 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.007749, allocations: 155.5 kB / 255.9 MB, free: 2.656 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.066e-05/0.00776, allocations: 7.891 kB / 255.9 MB, free: 2.648 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.007772, allocations: 4 kB / 255.9 MB, free: 2.645 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.149e-05/0.007844, allocations: 11.92 kB / 255.9 MB, free: 2.633 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.00788, allocations: 7.984 kB / 255.9 MB, free: 2.625 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-06/0.007885, allocations: 0 / 255.9 MB, free: 2.625 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.622e-05/0.007901, allocations: 20.73 kB / 256 MB, free: 2.602 MB / 234.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007901, allocations: 0 / 256 MB, free: 2.602 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002131/0.008114, allocations: 16 kB / 256 MB, free: 2.586 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 0.0001219/0.008236, allocations: 84.39 kB / 256.1 MB, free: 2.492 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 8.619e-05/0.008322, allocations: 20.86 kB / 256.1 MB, free: 2.469 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.008325, allocations: 0 / 256.1 MB, free: 2.469 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 3.515e-05/0.00836, allocations: 24.78 kB / 256.1 MB, free: 2.441 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.008553, allocations: 8 kB / 256.1 MB, free: 2.434 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003246/0.008877, allocations: 167.4 kB / 256.3 MB, free: 2.246 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.536e-05/0.008923, allocations: 59.34 kB / 256.3 MB, free: 2.168 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.992e-05/0.008952, allocations: 4 kB / 256.3 MB, free: 2.164 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.775e-05/0.00902, allocations: 59.36 kB / 256.4 MB, free: 2.105 MB / 234.7 MB Notification: Performance of SimCode: time 5.21e-07/0.009021, allocations: 0 / 256.4 MB, free: 2.105 MB / 234.7 MB Notification: Performance of Templates: time 0.003126/0.01215, allocations: 0.9351 MB / 257.3 MB, free: 1.18 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.4293999187648296]