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.001435/0.001435, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002017/0.002017, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 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 2.206/2.206, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002002/0.002002, allocations: 59.89 kB / 378.9 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4013, allocations: 53.36 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003702/0.405, allocations: 1.518 MB / 433.8 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.4063, allocations: 0.4947 MB / 434.3 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.421e-05/0.4063, allocations: 0 / 434.3 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.4065, allocations: 11.94 kB / 434.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.519e-05/0.4066, allocations: 15.86 kB / 434.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.4068, allocations: 31.92 kB / 434.4 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.4069, allocations: 67.83 kB / 434.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.407, allocations: 11.98 kB / 434.5 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.4072, allocations: 31.86 kB / 434.5 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.265e-05/0.4073, allocations: 31.91 kB / 434.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.4073, allocations: 7.984 kB / 434.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.223e-05/0.4074, allocations: 16 kB / 434.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.4074, allocations: 15.92 kB / 434.6 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.999e-05/0.4075, allocations: 19.86 kB / 434.6 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.4077, allocations: 73.36 kB / 434.6 MB, free: 4.395 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4077, allocations: 0 / 434.6 MB, free: 4.395 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4077, allocations: 0 / 434.6 MB, free: 4.395 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.4077, allocations: 4 kB / 434.6 MB, free: 4.391 MB / 334.1 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.000754/0.4084, allocations: 306.1 kB / 434.9 MB, free: 4.062 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.4085, allocations: 12.02 kB / 435 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.086e-05/0.4085, allocations: 8.891 kB / 435 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.4086, allocations: 114.4 kB / 435.1 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.4087, allocations: 4.375 kB / 435.1 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.4087, allocations: 4.375 kB / 435.1 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/0.409, allocations: 93.89 kB / 435.2 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.4091, allocations: 0 / 435.2 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.4091, allocations: 4 kB / 435.2 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.4091, allocations: 0 / 435.2 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004572/0.4095, allocations: 83.84 kB / 435.3 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004513/0.41, allocations: 232.5 kB / 435.5 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003303/0.4103, allocations: 74.53 kB / 435.6 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/0.4105, allocations: 52.97 kB / 435.6 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.4106, allocations: 0 / 435.6 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.705e-05/0.4106, allocations: 38.55 kB / 435.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.4106, allocations: 0 / 435.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007587/0.4114, allocations: 153.5 kB / 435.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.4114, allocations: 55.41 kB / 435.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.4115, allocations: 109.8 kB / 436 MB, free: 2.934 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.4115, allocations: 25.7 kB / 436 MB, free: 2.902 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.063e-05/0.4116, allocations: 96.02 kB / 436.1 MB, free: 2.805 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.4117, allocations: 19.89 kB / 436.1 MB, free: 2.785 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.626e-05/0.4117, allocations: 17.66 kB / 436.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.4119, allocations: 322.8 kB / 436.4 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.4121, allocations: 39.97 kB / 436.5 MB, free: 2.398 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.4123, allocations: 40.2 kB / 436.5 MB, free: 2.359 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004221/0.4127, allocations: 84.78 kB / 436.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4127, allocations: 3.938 kB / 436.6 MB, free: 2.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004845/0.4132, allocations: 109.6 kB / 436.7 MB, free: 2.156 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.4132, allocations: 8 kB / 436.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.4132, allocations: 0 / 436.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.4132, allocations: 0 / 436.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.4134, allocations: 19.92 kB / 436.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/0.4134, allocations: 3.984 kB / 436.7 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.4136, allocations: 20.36 kB / 436.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.4136, allocations: 4 kB / 436.8 MB, free: 2.102 MB / 334.1 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.0001026/0.4137, allocations: 113.8 kB / 436.9 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.4137, allocations: 4 kB / 436.9 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004918/0.4142, allocations: 141.5 kB / 437 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.4142, allocations: 0 / 437 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.4142, allocations: 4 kB / 437 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4142, allocations: 0 / 437 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.4144, allocations: 125.2 kB / 437.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4144, allocations: 0 / 437.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.4146, allocations: 27.91 kB / 437.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.4146, allocations: 0 / 437.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.4146, allocations: 4 kB / 437.2 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4146, allocations: 0 / 437.2 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4146, allocations: 0 / 437.2 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005001/0.4151, allocations: 227.4 kB / 437.4 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.151e-05/0.4151, allocations: 3.953 kB / 437.4 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.4151, allocations: 192 / 437.4 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.4153, allocations: 15.98 kB / 437.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.4153, allocations: 11.98 kB / 437.4 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.4153, allocations: 0 / 437.4 MB, free: 1.371 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.337e-05/0.4154, allocations: 95.2 kB / 437.5 MB, free: 1.277 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4154, allocations: 0 / 437.5 MB, free: 1.277 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003187/0.4157, allocations: 12 kB / 437.5 MB, free: 1.266 MB / 334.1 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.0001382/0.4159, allocations: 103.2 kB / 437.6 MB, free: 1.156 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004296/0.4163, allocations: 79.92 kB / 437.7 MB, free: 1.078 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.4163, allocations: 0 / 437.7 MB, free: 1.078 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002333/0.4165, allocations: 51.89 kB / 437.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.4169, allocations: 11.88 kB / 437.8 MB, free: 1.016 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/0.4172, allocations: 166.2 kB / 437.9 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.613e-05/0.4173, allocations: 71.33 kB / 438 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.999e-05/0.4174, allocations: 8 kB / 438 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.038e-05/0.4174, allocations: 15.42 kB / 438 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4174, allocations: 0 / 438 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of Templates: time 0.004287/0.4217, allocations: 1.002 MB / 439 MB, free: 15.72 MB / 350.1 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=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 6.831267100002151]