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.001198/0.001198, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001376/0.001376, allocations: 214.1 kB / 23.75 MB, free: 4.668 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 1.456/1.456, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.001592/0.001592, allocations: 51.92 kB / 378.2 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3068, allocations: 53.36 MB / 431.6 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.00282/0.3097, allocations: 1.543 MB / 433.1 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009561/0.3106, allocations: 0.5414 MB / 433.7 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.759e-05/0.3107, allocations: 4 kB / 433.7 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.3108, allocations: 11.94 kB / 433.7 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.699e-05/0.3109, allocations: 11.88 kB / 433.7 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001827/0.311, allocations: 43.89 kB / 433.7 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.3111, allocations: 59.78 kB / 433.8 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.3113, allocations: 11.98 kB / 433.8 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.3114, allocations: 31.92 kB / 433.8 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.804e-05/0.3115, allocations: 35.83 kB / 433.9 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.3115, allocations: 8 kB / 433.9 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.975e-05/0.3116, allocations: 15.94 kB / 433.9 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.817e-05/0.3116, allocations: 15.98 kB / 433.9 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.474e-05/0.3116, allocations: 19.88 kB / 433.9 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.3118, allocations: 69.97 kB / 434 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3118, allocations: 0 / 434 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3118, allocations: 0 / 434 MB, free: 4.523 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.3118, allocations: 4 kB / 434 MB, free: 4.52 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.0006365/0.3124, allocations: 306.1 kB / 434.3 MB, free: 4.191 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.3125, allocations: 12.03 kB / 434.3 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.261e-05/0.3125, allocations: 4.891 kB / 434.3 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.3126, allocations: 118.4 kB / 434.4 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.3127, allocations: 4.375 kB / 434.4 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.3127, allocations: 12.31 kB / 434.5 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.313, allocations: 89.95 kB / 434.5 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.313, allocations: 0 / 434.5 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.313, allocations: 0 / 434.5 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.313, allocations: 0 / 434.5 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002965/0.3133, allocations: 79.86 kB / 434.6 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004401/0.3137, allocations: 283.8 kB / 434.9 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.314, allocations: 70.56 kB / 435 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.3141, allocations: 48.94 kB / 435 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.3141, allocations: 4 kB / 435 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.3142, allocations: 34.5 kB / 435.1 MB, free: 3.352 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.3142, allocations: 0 / 435.1 MB, free: 3.352 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005453/0.3147, allocations: 153.5 kB / 435.2 MB, free: 3.195 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.3147, allocations: 59.34 kB / 435.3 MB, free: 3.125 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.548e-05/0.3148, allocations: 109.8 kB / 435.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.3149, allocations: 25.7 kB / 435.4 MB, free: 2.977 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.21e-05/0.3149, allocations: 100 kB / 435.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.3149, allocations: 11.91 kB / 435.5 MB, free: 2.863 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.315, allocations: 17.72 kB / 435.5 MB, free: 2.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3151, allocations: 322.8 kB / 435.8 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.3153, allocations: 35.97 kB / 435.9 MB, free: 2.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.3154, allocations: 39.95 kB / 435.9 MB, free: 2.441 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.3157, allocations: 85.16 kB / 436 MB, free: 2.355 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3157, allocations: 0 / 436 MB, free: 2.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003208/0.316, allocations: 121.5 kB / 436.1 MB, free: 2.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.316, allocations: 4 kB / 436.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.316, allocations: 0 / 436.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3161, allocations: 0 / 436.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.3162, allocations: 19.97 kB / 436.1 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3162, allocations: 0 / 436.1 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.957e-05/0.3163, allocations: 15.98 kB / 436.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.3163, allocations: 4 kB / 436.2 MB, free: 2.188 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.016e-05/0.3164, allocations: 113.8 kB / 436.3 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.3164, allocations: 4 kB / 436.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003957/0.3168, allocations: 141.5 kB / 436.4 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3168, allocations: 7.938 kB / 436.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3168, allocations: 3.984 kB / 436.4 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3168, allocations: 0 / 436.4 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.317, allocations: 160.6 kB / 436.6 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.317, allocations: 0 / 436.6 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.3171, allocations: 23.97 kB / 436.6 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3171, allocations: 0 / 436.6 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.3171, allocations: 384 / 436.6 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3171, allocations: 0 / 436.6 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3171, allocations: 0 / 436.6 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003928/0.3175, allocations: 227.4 kB / 436.8 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-06/0.3175, allocations: 7.875 kB / 436.8 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.3176, allocations: 4 kB / 436.8 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.3177, allocations: 11.98 kB / 436.8 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.3177, allocations: 11.98 kB / 436.9 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.3177, allocations: 0 / 436.9 MB, free: 1.406 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.281e-05/0.3178, allocations: 91.27 kB / 436.9 MB, free: 1.316 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3178, allocations: 0 / 436.9 MB, free: 1.316 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002234/0.318, allocations: 15.94 kB / 437 MB, free: 1.301 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.0001239/0.3181, allocations: 99.25 kB / 437.1 MB, free: 1.195 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003539/0.3185, allocations: 87.91 kB / 437.1 MB, free: 1.109 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3185, allocations: 0 / 437.1 MB, free: 1.109 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.3186, allocations: 52.05 kB / 437.2 MB, free: 1.059 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.3189, allocations: 8.281 kB / 437.2 MB, free: 1.051 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000367/0.3193, allocations: 174.1 kB / 437.4 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.3196, allocations: 0.6885 MB / 438.1 MB, free: 144 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.811e-05/0.3196, allocations: 4 kB / 438.1 MB, free: 140 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.3196, allocations: 15.42 kB / 438.1 MB, free: 124 kB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3196, allocations: 0 / 438.1 MB, free: 124 kB / 334.1 MB Notification: Performance of Templates: time 0.003616/0.3233, allocations: 0.9504 MB / 439 MB, free: 15.18 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 -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/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_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: 4.467627911129966]