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.002716/0.002716, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.003384/0.003384, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.571/1.571, 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.001674/0.001674, allocations: 47.92 kB / 378.2 MB, free: 2.531 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2855, allocations: 53.37 MB / 431.5 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002755/0.2882, allocations: 1.523 MB / 433.1 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009659/0.2892, allocations: 0.4909 MB / 433.6 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.943e-05/0.2892, allocations: 0 / 433.6 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.2894, allocations: 23.86 kB / 433.6 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.07e-05/0.2894, allocations: 7.875 kB / 433.6 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.2897, allocations: 43.89 kB / 433.6 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.2898, allocations: 55.84 kB / 433.7 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.2899, allocations: 8 kB / 433.7 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.2901, allocations: 39.83 kB / 433.7 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.824e-05/0.2902, allocations: 27.86 kB / 433.8 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.2902, allocations: 4 kB / 433.8 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.131e-05/0.2903, allocations: 19.98 kB / 433.8 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.622e-05/0.2903, allocations: 12 kB / 433.8 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.148e-05/0.2904, allocations: 23.86 kB / 433.8 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.2905, allocations: 77.91 kB / 433.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2906, allocations: 0 / 433.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2906, allocations: 0 / 433.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.2906, allocations: 0 / 433.9 MB, free: 4.41 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.0007175/0.2913, allocations: 302.1 kB / 434.2 MB, free: 4.086 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.2913, allocations: 8.031 kB / 434.2 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.2914, allocations: 8.891 kB / 434.2 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.2915, allocations: 118.4 kB / 434.3 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.2915, allocations: 8.375 kB / 434.3 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.2915, allocations: 384 / 434.3 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000381/0.2919, allocations: 85.95 kB / 434.4 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.2919, allocations: 0 / 434.4 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.2919, allocations: 4 kB / 434.4 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.292, allocations: 3.938 kB / 434.4 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004997/0.2925, allocations: 83.91 kB / 434.5 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.2929, allocations: 248.4 kB / 434.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/0.2932, allocations: 74.52 kB / 434.8 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.2935, allocations: 40.95 kB / 434.9 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.2935, allocations: 4.031 kB / 434.9 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.017e-05/0.2935, allocations: 42.56 kB / 434.9 MB, free: 3.289 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.703e-06/0.2935, allocations: 0 / 434.9 MB, free: 3.289 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008705/0.2944, allocations: 145.5 kB / 435 MB, free: 3.141 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.2944, allocations: 55.41 kB / 435.1 MB, free: 3.074 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.2946, allocations: 105.8 kB / 435.2 MB, free: 2.961 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.2946, allocations: 29.7 kB / 435.2 MB, free: 2.926 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.714e-05/0.2947, allocations: 104 kB / 435.3 MB, free: 2.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.786e-05/0.2947, allocations: 11.91 kB / 435.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.994e-05/0.2948, allocations: 21.66 kB / 435.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002215/0.295, allocations: 318.8 kB / 435.7 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.2952, allocations: 39.91 kB / 435.7 MB, free: 2.422 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.2954, allocations: 35.95 kB / 435.8 MB, free: 2.387 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004329/0.2959, allocations: 85.16 kB / 435.8 MB, free: 2.301 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.2959, allocations: 4 kB / 435.8 MB, free: 2.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005174/0.2964, allocations: 113.6 kB / 436 MB, free: 2.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.2964, allocations: 8 kB / 436 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2964, allocations: 0 / 436 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.2964, allocations: 4 kB / 436 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.2966, allocations: 19.97 kB / 436 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.2966, allocations: 3.938 kB / 436 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.2968, allocations: 11.98 kB / 436 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.2968, allocations: 0 / 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 0.0001515/0.2969, allocations: 117.8 kB / 436.1 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.416e-05/0.297, allocations: 4 kB / 436.1 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005819/0.2975, allocations: 141.5 kB / 436.3 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.2976, allocations: 384 / 436.3 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2976, allocations: 0 / 436.3 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2976, allocations: 0 / 436.3 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.2978, allocations: 129.2 kB / 436.4 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2978, allocations: 3.938 kB / 436.4 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.298, allocations: 23.92 kB / 436.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.298, allocations: 0 / 436.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.298, allocations: 8 kB / 436.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.298, allocations: 4 kB / 436.4 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.298, allocations: 0 / 436.4 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006348/0.2986, allocations: 215.4 kB / 436.6 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.587e-05/0.2987, allocations: 4 kB / 436.6 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.2987, allocations: 0 / 436.6 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.2989, allocations: 19.98 kB / 436.7 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.898e-05/0.2989, allocations: 7.984 kB / 436.7 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/0.2989, allocations: 0 / 436.7 MB, free: 1.402 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.847e-05/0.299, allocations: 91.27 kB / 436.8 MB, free: 1.312 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.299, allocations: 0 / 436.8 MB, free: 1.312 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004196/0.2994, allocations: 12 kB / 436.8 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.0001632/0.2996, allocations: 103.1 kB / 436.9 MB, free: 1.191 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005595/0.3002, allocations: 91.89 kB / 437 MB, free: 1.102 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3002, allocations: 0 / 437 MB, free: 1.102 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002422/0.3004, allocations: 47.91 kB / 437 MB, free: 1.055 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005246/0.3009, allocations: 18.69 kB / 437 MB, free: 1.039 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005587/0.3015, allocations: 166.1 kB / 437.2 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.696e-05/0.3016, allocations: 71.34 kB / 437.2 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.473e-05/0.3016, allocations: 7.984 kB / 437.3 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.455e-05/0.3017, allocations: 7.438 kB / 437.3 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3017, allocations: 0 / 437.3 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of Templates: time 0.005531/0.3072, allocations: 0.9869 MB / 438.3 MB, free: 15.77 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.6038068644702435]