Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001779/0.001779, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001978/0.001978, allocations: 213.3 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.567/1.567, allocations: 230.3 MB / 258 MB, free: 8.27 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 63.89 kB / 378.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2988, allocations: 53.37 MB / 432.1 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002922/0.3018, allocations: 1.523 MB / 433.6 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009854/0.3027, allocations: 0.5453 MB / 434.2 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.049e-05/0.3028, allocations: 0 / 434.2 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.3029, allocations: 19.86 kB / 434.2 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.954e-05/0.303, allocations: 7.922 kB / 434.2 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001748/0.3032, allocations: 35.92 kB / 434.2 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000105/0.3033, allocations: 63.72 kB / 434.3 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.3034, allocations: 19.97 kB / 434.3 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.3036, allocations: 31.92 kB / 434.3 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.191e-05/0.3037, allocations: 27.91 kB / 434.4 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.3037, allocations: 11.94 kB / 434.4 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.366e-05/0.3037, allocations: 19.94 kB / 434.4 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.262e-05/0.3038, allocations: 11.97 kB / 434.4 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.711e-05/0.3038, allocations: 27.88 kB / 434.4 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.304, allocations: 69.41 kB / 434.5 MB, free: 4.672 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.304, allocations: 0 / 434.5 MB, free: 4.672 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.304, allocations: 0 / 434.5 MB, free: 4.672 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.304, allocations: 0 / 434.5 MB, free: 4.672 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.0006894/0.3047, allocations: 306.1 kB / 434.8 MB, free: 4.344 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.3047, allocations: 15.95 kB / 434.8 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.3048, allocations: 8.891 kB / 434.8 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.3049, allocations: 110.5 kB / 434.9 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.3049, allocations: 8.375 kB / 434.9 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.3049, allocations: 384 / 434.9 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/0.3052, allocations: 89.95 kB / 435 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.3052, allocations: 11.92 kB / 435 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.3052, allocations: 3.938 kB / 435.1 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3052, allocations: 0 / 435.1 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003362/0.3056, allocations: 79.91 kB / 435.1 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004527/0.306, allocations: 279.9 kB / 435.4 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002651/0.3063, allocations: 70.47 kB / 435.5 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.3065, allocations: 40.95 kB / 435.5 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.3065, allocations: 8 kB / 435.5 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.3065, allocations: 34.56 kB / 435.6 MB, free: 3.504 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.3065, allocations: 0 / 435.6 MB, free: 3.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006051/0.3071, allocations: 153.5 kB / 435.7 MB, free: 3.348 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.3072, allocations: 51.41 kB / 435.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.751e-05/0.3073, allocations: 113.8 kB / 435.9 MB, free: 3.164 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.3073, allocations: 33.7 kB / 435.9 MB, free: 3.125 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/0.3073, allocations: 96.02 kB / 436 MB, free: 3.027 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.3074, allocations: 15.89 kB / 436 MB, free: 3.012 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.3074, allocations: 17.72 kB / 436 MB, free: 2.988 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.3076, allocations: 322.8 kB / 436.3 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.3077, allocations: 31.97 kB / 436.4 MB, free: 2.633 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.3079, allocations: 43.95 kB / 436.4 MB, free: 2.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003016/0.3082, allocations: 81.16 kB / 436.5 MB, free: 2.508 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3082, allocations: 0 / 436.5 MB, free: 2.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003586/0.3085, allocations: 121.5 kB / 436.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.3086, allocations: 8 kB / 436.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3086, allocations: 0 / 436.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.3086, allocations: 0 / 436.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.3087, allocations: 19.97 kB / 436.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.3087, allocations: 0 / 436.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.689e-05/0.3088, allocations: 11.98 kB / 436.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.3088, allocations: 0 / 436.7 MB, free: 2.344 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 9.532e-05/0.3089, allocations: 121.8 kB / 436.8 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.3089, allocations: 4 kB / 436.8 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004188/0.3094, allocations: 137.5 kB / 436.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.3094, allocations: 4 kB / 436.9 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.3094, allocations: 0 / 436.9 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3094, allocations: 0 / 436.9 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.3096, allocations: 168.5 kB / 437.1 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3096, allocations: 3.984 kB / 437.1 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.3097, allocations: 19.98 kB / 437.1 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3097, allocations: 4 kB / 437.1 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.3097, allocations: 0 / 437.1 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3097, allocations: 0 / 437.1 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3097, allocations: 0 / 437.1 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004328/0.3102, allocations: 227.3 kB / 437.3 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.029e-05/0.3102, allocations: 3.953 kB / 437.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.3102, allocations: 4.375 kB / 437.3 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.3103, allocations: 11.98 kB / 437.3 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.3103, allocations: 7.984 kB / 437.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.3103, allocations: 0 / 437.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.488e-05/0.3104, allocations: 99.2 kB / 437.5 MB, free: 1.465 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3104, allocations: 0 / 437.5 MB, free: 1.465 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002244/0.3106, allocations: 15.94 kB / 437.5 MB, free: 1.449 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.0001326/0.3108, allocations: 95.31 kB / 437.6 MB, free: 1.348 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000396/0.3112, allocations: 95.84 kB / 437.7 MB, free: 1.254 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3112, allocations: 0 / 437.7 MB, free: 1.254 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.3113, allocations: 43.97 kB / 437.7 MB, free: 1.211 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.3117, allocations: 11.98 kB / 437.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003709/0.312, allocations: 158.2 kB / 437.9 MB, free: 1.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.3123, allocations: 0.6885 MB / 438.6 MB, free: 312 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.541e-05/0.3124, allocations: 7.984 kB / 438.6 MB, free: 304 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.956e-05/0.3124, allocations: 11.44 kB / 438.6 MB, free: 292 kB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3124, allocations: 0 / 438.6 MB, free: 292 kB / 334.1 MB Notification: Performance of Templates: time 0.003619/0.316, allocations: 0.9651 MB / 439.5 MB, free: 15.33 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.562190856784582]