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.001931/0.001931, allocations: 99.53 kB / 21.73 MB, free: 2.688 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.001956/0.001956, allocations: 164.3 kB / 25.03 MB, free: 7.906 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 1.377/1.377, allocations: 158.6 MB / 186.8 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] 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.194e-06/2.194e-06, allocations: 0 / 250.3 MB, free: 3.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.007e-05/3.226e-05, allocations: 2.312 kB / 250.3 MB, free: 3.977 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003506/0.003539, allocations: 1.504 MB / 251.8 MB, free: 2.461 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.004622, allocations: 0.5151 MB / 252.3 MB, free: 1.938 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.956e-05/0.004672, allocations: 0 / 252.3 MB, free: 1.938 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.004803, allocations: 23.81 kB / 252.4 MB, free: 1.914 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.031e-05/0.004883, allocations: 11.86 kB / 252.4 MB, free: 1.902 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.005095, allocations: 39.84 kB / 252.4 MB, free: 1.863 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.005211, allocations: 63.78 kB / 252.5 MB, free: 1.801 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.005325, allocations: 11.98 kB / 252.5 MB, free: 1.789 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.005479, allocations: 35.95 kB / 252.5 MB, free: 1.754 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.585e-05/0.005555, allocations: 23.91 kB / 252.6 MB, free: 1.73 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.005579, allocations: 8 kB / 252.6 MB, free: 1.723 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.897e-05/0.005648, allocations: 16 kB / 252.6 MB, free: 1.707 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.294e-05/0.005671, allocations: 7.938 kB / 252.6 MB, free: 1.699 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.499e-05/0.005716, allocations: 27.97 kB / 252.6 MB, free: 1.672 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.005915, allocations: 71.72 kB / 252.7 MB, free: 1.602 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.005919, allocations: 0 / 252.7 MB, free: 1.602 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.00592, allocations: 4 kB / 252.7 MB, free: 1.598 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.005928, allocations: 0 / 252.7 MB, free: 1.598 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.0007709/0.006698, allocations: 404 kB / 253.1 MB, free: 1.168 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.006744, allocations: 15.98 kB / 253.1 MB, free: 1.152 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.688e-05/0.006801, allocations: 12.89 kB / 253.1 MB, free: 1.141 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.006948, allocations: 112.6 kB / 253.2 MB, free: 1.004 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.006969, allocations: 8.312 kB / 253.2 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.006981, allocations: 384 / 253.2 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.007214, allocations: 74.22 kB / 253.3 MB, free: 0.918 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.007223, allocations: 4.188 kB / 253.3 MB, free: 0.9141 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.007233, allocations: 384 / 253.3 MB, free: 0.9141 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.007244, allocations: 7.938 kB / 253.3 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002217/0.007466, allocations: 59.89 kB / 253.4 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005388/0.008005, allocations: 311.6 kB / 253.7 MB, free: 0.5078 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.008234, allocations: 70.97 kB / 253.7 MB, free: 436 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.008351, allocations: 35.8 kB / 253.8 MB, free: 396 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.008373, allocations: 4.094 kB / 253.8 MB, free: 392 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.008404, allocations: 37.33 kB / 253.8 MB, free: 344 kB / 234.7 MB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.008405, allocations: 0 / 253.8 MB, free: 344 kB / 234.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004559/0.008861, allocations: 117.6 kB / 253.9 MB, free: 220 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.008911, allocations: 55.41 kB / 254 MB, free: 152 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.009074, allocations: 169.9 kB / 254.2 MB, free: 15.96 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.009098, allocations: 29.7 kB / 254.2 MB, free: 15.93 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.313e-05/0.009191, allocations: 138.8 kB / 254.3 MB, free: 15.79 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/0.009229, allocations: 27.81 kB / 254.3 MB, free: 15.76 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-05/0.009277, allocations: 23.38 kB / 254.4 MB, free: 15.73 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002766/0.009554, allocations: 0.4884 MB / 254.9 MB, free: 15.23 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.00966, allocations: 27.91 kB / 254.9 MB, free: 15.2 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.466e-05/0.009754, allocations: 27.98 kB / 254.9 MB, free: 15.18 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.009963, allocations: 60.03 kB / 255 MB, free: 15.11 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.009965, allocations: 0 / 255 MB, free: 15.11 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002634/0.01023, allocations: 105.5 kB / 255.1 MB, free: 15 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.01024, allocations: 4 kB / 255.1 MB, free: 15 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.01025, allocations: 0 / 255.1 MB, free: 15 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.01027, allocations: 4 kB / 255.1 MB, free: 15 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.01038, allocations: 11.94 kB / 255.1 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.01039, allocations: 3.984 kB / 255.1 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.249e-05/0.01044, allocations: 7.938 kB / 255.1 MB, free: 14.97 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.01045, allocations: 4 kB / 255.1 MB, free: 14.97 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 0.000131/0.01058, allocations: 160.6 kB / 255.3 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.01061, allocations: 7.938 kB / 255.3 MB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003306/0.01094, allocations: 109.8 kB / 255.4 MB, free: 14.68 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.01094, allocations: 0 / 255.4 MB, free: 14.68 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.01095, allocations: 0 / 255.4 MB, free: 14.68 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.01095, allocations: 0 / 255.4 MB, free: 14.68 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.01115, allocations: 144.6 kB / 255.5 MB, free: 14.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.01115, allocations: 0 / 255.5 MB, free: 14.5 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.778e-05/0.01125, allocations: 23.86 kB / 255.5 MB, free: 14.48 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.01126, allocations: 4 kB / 255.5 MB, free: 14.48 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.01126, allocations: 4 kB / 255.5 MB, free: 14.47 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.01127, allocations: 0 / 255.5 MB, free: 14.47 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01127, allocations: 0 / 255.5 MB, free: 14.47 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003702/0.01164, allocations: 247.9 kB / 255.8 MB, free: 14.21 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.833e-05/0.01167, allocations: 11.83 kB / 255.8 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.01168, allocations: 4 kB / 255.8 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.591e-05/0.01177, allocations: 11.98 kB / 255.8 MB, free: 14.18 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.01182, allocations: 3.984 kB / 255.8 MB, free: 14.18 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.01183, allocations: 4 kB / 255.8 MB, free: 14.18 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.11e-05/0.01192, allocations: 135.2 kB / 256 MB, free: 14.04 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01192, allocations: 0 / 256 MB, free: 14.04 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002208/0.01214, allocations: 12 kB / 256 MB, free: 14.03 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.0001627/0.0123, allocations: 103.2 kB / 256.1 MB, free: 13.92 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000277/0.01258, allocations: 63.66 kB / 256.1 MB, free: 13.85 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01258, allocations: 4 kB / 256.1 MB, free: 13.85 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.01272, allocations: 55.59 kB / 256.2 MB, free: 13.79 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.01297, allocations: 8.141 kB / 256.2 MB, free: 13.78 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004121/0.01339, allocations: 169.1 kB / 256.4 MB, free: 13.59 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.638e-05/0.01347, allocations: 71.33 kB / 256.4 MB, free: 13.5 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.511e-05/0.01351, allocations: 4 kB / 256.4 MB, free: 13.5 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.607e-05/0.01356, allocations: 20.5 kB / 256.5 MB, free: 13.48 MB / 250.7 MB Notification: Performance of SimCode: time 4.2e-07/0.01356, allocations: 0 / 256.5 MB, free: 13.48 MB / 250.7 MB Notification: Performance of Templates: time 0.004292/0.01786, allocations: 0.9714 MB / 257.4 MB, free: 12.51 MB / 250.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","/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.485210216022097]