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.001829/0.001829, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002962/0.002962, allocations: 212.2 kB / 23.73 MB, free: 4.523 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.568/1.568, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.001532/0.001532, allocations: 51.92 kB / 378.2 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2918, allocations: 53.37 MB / 431.5 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003045/0.2949, allocations: 1.516 MB / 433.1 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009978/0.2959, allocations: 0.4909 MB / 433.5 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.259e-05/0.2959, allocations: 0 / 433.5 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.296, allocations: 19.81 kB / 433.6 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.365e-05/0.2961, allocations: 7.922 kB / 433.6 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.2963, allocations: 43.91 kB / 433.6 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.2964, allocations: 55.84 kB / 433.7 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.2965, allocations: 15.98 kB / 433.7 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.2967, allocations: 35.84 kB / 433.7 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.199e-05/0.2968, allocations: 35.78 kB / 433.8 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.2968, allocations: 4 kB / 433.8 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.486e-05/0.2968, allocations: 16 kB / 433.8 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.482e-05/0.2969, allocations: 19.92 kB / 433.8 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.831e-05/0.2969, allocations: 11.94 kB / 433.8 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.297, allocations: 79.36 kB / 433.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2971, allocations: 4 kB / 433.9 MB, free: 4.406 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2971, allocations: 0 / 433.9 MB, free: 4.406 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.2971, allocations: 0 / 433.9 MB, free: 4.406 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.0006443/0.2977, allocations: 308.7 kB / 434.2 MB, free: 4.078 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.2977, allocations: 8.031 kB / 434.2 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.2978, allocations: 8.891 kB / 434.2 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.2979, allocations: 114.5 kB / 434.3 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.2979, allocations: 4.375 kB / 434.3 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.2979, allocations: 384 / 434.3 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.2982, allocations: 93.89 kB / 434.4 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.2982, allocations: 0 / 434.4 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.2983, allocations: 8 kB / 434.4 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2983, allocations: 0 / 434.4 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003089/0.2986, allocations: 75.92 kB / 434.5 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.299, allocations: 244.3 kB / 434.7 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.2992, allocations: 74.53 kB / 434.8 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.2994, allocations: 48.94 kB / 434.9 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.2994, allocations: 0 / 434.9 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.2995, allocations: 30.56 kB / 434.9 MB, free: 3.301 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.2995, allocations: 4 kB / 434.9 MB, free: 3.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005668/0.3, allocations: 153.6 kB / 435 MB, free: 3.141 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.3001, allocations: 55.41 kB / 435.1 MB, free: 3.074 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.099e-05/0.3002, allocations: 113.8 kB / 435.2 MB, free: 2.953 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.3002, allocations: 25.7 kB / 435.2 MB, free: 2.922 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.588e-05/0.3002, allocations: 96.03 kB / 435.3 MB, free: 2.824 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.3003, allocations: 19.89 kB / 435.3 MB, free: 2.805 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.3003, allocations: 13.72 kB / 435.4 MB, free: 2.785 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.3004, allocations: 322.8 kB / 435.7 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.3006, allocations: 35.95 kB / 435.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.3007, allocations: 36.22 kB / 435.7 MB, free: 2.391 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.301, allocations: 88.84 kB / 435.8 MB, free: 2.301 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.301, allocations: 4 kB / 435.8 MB, free: 2.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000327/0.3013, allocations: 113.6 kB / 435.9 MB, free: 2.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3013, allocations: 8 kB / 436 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.3013, allocations: 0 / 436 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3014, allocations: 0 / 436 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.3015, allocations: 15.98 kB / 436 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.3015, allocations: 4 kB / 436 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.537e-05/0.3016, allocations: 15.98 kB / 436 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.3016, allocations: 3.984 kB / 436 MB, free: 2.133 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.493e-05/0.3017, allocations: 125.7 kB / 436.1 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.3017, allocations: 4 kB / 436.1 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003932/0.3021, allocations: 137.5 kB / 436.3 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3021, allocations: 8 kB / 436.3 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.3021, allocations: 0 / 436.3 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3021, allocations: 3.984 kB / 436.3 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.3023, allocations: 121.2 kB / 436.4 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3023, allocations: 0 / 436.4 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.3024, allocations: 19.98 kB / 436.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3024, allocations: 3.938 kB / 436.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.3024, allocations: 3.984 kB / 436.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3024, allocations: 0 / 436.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3024, allocations: 4 kB / 436.4 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003824/0.3028, allocations: 231.3 kB / 436.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.205e-05/0.3028, allocations: 4 kB / 436.6 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.3028, allocations: 3.984 kB / 436.6 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.3029, allocations: 12.05 kB / 436.7 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.303, allocations: 15.98 kB / 436.7 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.303, allocations: 384 / 436.7 MB, free: 1.383 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.48e-05/0.3031, allocations: 95.22 kB / 436.8 MB, free: 1.289 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3031, allocations: 0 / 436.8 MB, free: 1.289 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.3033, allocations: 8 kB / 436.8 MB, free: 1.281 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.0001319/0.3034, allocations: 103.2 kB / 436.9 MB, free: 1.172 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000371/0.3038, allocations: 87.86 kB / 437 MB, free: 1.086 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3038, allocations: 0 / 437 MB, free: 1.086 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.304, allocations: 47.95 kB / 437 MB, free: 1.039 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.3043, allocations: 10.34 kB / 437 MB, free: 1.031 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003625/0.3046, allocations: 170.1 kB / 437.2 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.523e-05/0.3047, allocations: 71.33 kB / 437.3 MB, free: 0.75 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.082e-05/0.3047, allocations: 8 kB / 437.3 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.3048, allocations: 7.438 kB / 437.3 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3048, allocations: 0 / 437.3 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of Templates: time 0.003746/0.3085, allocations: 1.018 MB / 438.3 MB, free: 15.73 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.5957885179668665]