Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001577/0.001577, allocations: 107.6 kB / 21.18 MB, free: 460 kB / 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.001798/0.001798, allocations: 219.2 kB / 24.48 MB, free: 3.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 207.7 MB / 235.3 MB, free: 9.828 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 55.92 kB / 347.7 MB, free: 9.512 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3029, allocations: 49.15 MB / 396.8 MB, free: 9.367 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002625/0.3055, allocations: 1.484 MB / 398.3 MB, free: 8.348 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009211/0.3064, allocations: 0.5088 MB / 398.8 MB, free: 8.004 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.064e-05/0.3065, allocations: 1.406 kB / 398.8 MB, free: 8.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001569/0.3066, allocations: 12.89 kB / 398.8 MB, free: 8 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.343e-05/0.3067, allocations: 10 kB / 398.8 MB, free: 7.992 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.3069, allocations: 47.02 kB / 398.9 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.132e-05/0.307, allocations: 59.08 kB / 398.9 MB, free: 7.938 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.3071, allocations: 10.03 kB / 398.9 MB, free: 7.934 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.3072, allocations: 27.22 kB / 399 MB, free: 7.922 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.07e-05/0.3073, allocations: 33.95 kB / 399 MB, free: 7.902 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.3073, allocations: 5.188 kB / 399 MB, free: 7.902 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.979e-05/0.3074, allocations: 14.44 kB / 399 MB, free: 7.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.445e-05/0.3074, allocations: 12.23 kB / 399 MB, free: 7.895 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.23e-05/0.3074, allocations: 18.91 kB / 399.1 MB, free: 7.883 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.3076, allocations: 73.25 kB / 399.1 MB, free: 7.852 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3076, allocations: 4.844 kB / 399.1 MB, free: 7.848 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3076, allocations: 0 / 399.1 MB, free: 7.848 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.3076, allocations: 0 / 399.1 MB, free: 7.848 MB / 318.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.000602/0.3082, allocations: 308.6 kB / 399.4 MB, free: 7.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3083, allocations: 13.36 kB / 399.4 MB, free: 7.566 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.3083, allocations: 8.922 kB / 399.5 MB, free: 7.562 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.495e-05/0.3084, allocations: 119.7 kB / 399.6 MB, free: 7.426 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.3084, allocations: 6.656 kB / 399.6 MB, free: 7.422 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.3084, allocations: 7.094 kB / 399.6 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002908/0.3087, allocations: 90.64 kB / 399.7 MB, free: 7.367 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3087, allocations: 3.938 kB / 399.7 MB, free: 7.363 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.3087, allocations: 0.7969 kB / 399.7 MB, free: 7.363 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3087, allocations: 2.031 kB / 399.7 MB, free: 7.363 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003409/0.3091, allocations: 75.95 kB / 399.8 MB, free: 7.352 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.3095, allocations: 252.4 kB / 400 MB, free: 7.113 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.3097, allocations: 69.64 kB / 400.1 MB, free: 7.078 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.3099, allocations: 43.36 kB / 400.1 MB, free: 7.062 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.3099, allocations: 1.984 kB / 400.1 MB, free: 7.062 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.3099, allocations: 35.84 kB / 400.2 MB, free: 7.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.3099, allocations: 0 / 400.2 MB, free: 7.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006174/0.3105, allocations: 153.3 kB / 400.3 MB, free: 6.961 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.3106, allocations: 51.41 kB / 400.4 MB, free: 6.898 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.454e-05/0.3106, allocations: 109 kB / 400.5 MB, free: 6.797 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.3107, allocations: 27.2 kB / 400.5 MB, free: 6.766 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.347e-05/0.3107, allocations: 96.28 kB / 400.6 MB, free: 6.672 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.3107, allocations: 19.64 kB / 400.6 MB, free: 6.656 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.3108, allocations: 22.2 kB / 400.6 MB, free: 6.633 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.897e-05/0.3108, allocations: 318.9 kB / 400.9 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.311, allocations: 41.92 kB / 401 MB, free: 6.305 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.3111, allocations: 35.33 kB / 401 MB, free: 6.301 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000303/0.3114, allocations: 84.36 kB / 401.1 MB, free: 6.273 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3114, allocations: 0 / 401.1 MB, free: 6.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003438/0.3118, allocations: 110.8 kB / 401.2 MB, free: 6.227 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.3118, allocations: 4.656 kB / 401.2 MB, free: 6.227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3118, allocations: 1.188 kB / 401.2 MB, free: 6.227 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.3118, allocations: 0 / 401.2 MB, free: 6.227 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.312, allocations: 22.72 kB / 401.2 MB, free: 6.223 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.312, allocations: 9.031 kB / 401.2 MB, free: 6.215 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.857e-05/0.3121, allocations: 15.48 kB / 401.2 MB, free: 6.211 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.3121, allocations: 1.938 kB / 401.3 MB, free: 6.211 MB / 318.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 6.106e-05/0.3121, allocations: 117.2 kB / 401.4 MB, free: 6.09 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.3122, allocations: 7.203 kB / 401.4 MB, free: 6.086 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004065/0.3126, allocations: 131.8 kB / 401.5 MB, free: 6.023 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.3126, allocations: 1.938 kB / 401.5 MB, free: 6.023 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3126, allocations: 448 / 401.5 MB, free: 6.023 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3126, allocations: 4.734 kB / 401.5 MB, free: 6.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.3127, allocations: 127.6 kB / 401.6 MB, free: 5.883 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3127, allocations: 4.891 kB / 401.6 MB, free: 5.879 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.3128, allocations: 24.14 kB / 401.7 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3128, allocations: 1.375 kB / 401.7 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.3128, allocations: 0.6094 kB / 401.7 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3128, allocations: 1 kB / 401.7 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3128, allocations: 4 kB / 401.7 MB, free: 5.871 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.3132, allocations: 222.5 kB / 401.9 MB, free: 5.715 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.143e-05/0.3132, allocations: 2.156 kB / 401.9 MB, free: 5.715 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.3132, allocations: 1.812 kB / 401.9 MB, free: 5.715 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.3133, allocations: 16.23 kB / 401.9 MB, free: 5.711 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.3134, allocations: 4.391 kB / 401.9 MB, free: 5.711 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.3134, allocations: 2 kB / 401.9 MB, free: 5.711 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.266e-05/0.3134, allocations: 93.08 kB / 402 MB, free: 5.629 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3134, allocations: 1.156 kB / 402 MB, free: 5.629 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002332/0.3137, allocations: 17.33 kB / 402 MB, free: 5.621 MB / 318.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.0001265/0.3138, allocations: 101.9 kB / 402.1 MB, free: 5.527 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003976/0.3142, allocations: 89.58 kB / 402.2 MB, free: 5.508 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3142, allocations: 0 / 402.2 MB, free: 5.508 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.3144, allocations: 49.81 kB / 402.3 MB, free: 5.496 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.3147, allocations: 13.19 kB / 402.3 MB, free: 5.488 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003547/0.315, allocations: 168.7 kB / 402.4 MB, free: 5.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.912e-05/0.3151, allocations: 78.88 kB / 402.5 MB, free: 5.262 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.448e-05/0.3151, allocations: 3.016 kB / 402.5 MB, free: 5.262 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.95e-05/0.3152, allocations: 16.03 kB / 402.5 MB, free: 5.25 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3152, allocations: 0 / 402.5 MB, free: 5.25 MB / 318.1 MB Notification: Performance of Templates: time 0.004231/0.3194, allocations: 0.9857 MB / 403.5 MB, free: 5.105 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 5.061190992593765]