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.001755/0.001755, allocations: 101 kB / 21.93 MB, free: 5.203 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.001565/0.001565, allocations: 202.7 kB / 25.21 MB, free: 3.145 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.55/1.55, allocations: 207.7 MB / 236.1 MB, free: 9.77 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: 66.58 kB / 348.4 MB, free: 9.395 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.322, allocations: 49.15 MB / 397.6 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002797/0.3248, allocations: 1.485 MB / 399.1 MB, free: 8.367 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009342/0.3257, allocations: 0.5066 MB / 399.6 MB, free: 8.027 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.886e-05/0.3258, allocations: 0 / 399.6 MB, free: 8.027 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.3259, allocations: 20.2 kB / 399.6 MB, free: 8.016 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.755e-05/0.326, allocations: 9.922 kB / 399.6 MB, free: 8.008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.3261, allocations: 39.48 kB / 399.6 MB, free: 7.988 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.3262, allocations: 62.14 kB / 399.7 MB, free: 7.957 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.3264, allocations: 11.72 kB / 399.7 MB, free: 7.953 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.3265, allocations: 35.36 kB / 399.7 MB, free: 7.934 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.465e-05/0.3266, allocations: 25.5 kB / 399.8 MB, free: 7.922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.3266, allocations: 5.469 kB / 399.8 MB, free: 7.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.081e-05/0.3267, allocations: 17.19 kB / 399.8 MB, free: 7.918 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.3267, allocations: 8.297 kB / 399.8 MB, free: 7.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.243e-05/0.3267, allocations: 24.19 kB / 399.8 MB, free: 7.898 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.3269, allocations: 71.84 kB / 399.9 MB, free: 7.867 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3269, allocations: 1.531 kB / 399.9 MB, free: 7.867 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3269, allocations: 4 kB / 399.9 MB, free: 7.863 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.3269, allocations: 0.75 kB / 399.9 MB, free: 7.863 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.0005637/0.3275, allocations: 303.6 kB / 400.2 MB, free: 7.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3275, allocations: 14.56 kB / 400.2 MB, free: 7.586 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.3276, allocations: 8.172 kB / 400.2 MB, free: 7.582 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.402e-05/0.3276, allocations: 123.8 kB / 400.3 MB, free: 7.441 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.3277, allocations: 6.625 kB / 400.3 MB, free: 7.438 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.3277, allocations: 2.594 kB / 400.3 MB, free: 7.438 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.3279, allocations: 95.31 kB / 400.4 MB, free: 7.383 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3279, allocations: 0 / 400.4 MB, free: 7.383 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.328, allocations: 1.125 kB / 400.4 MB, free: 7.383 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.328, allocations: 5.031 kB / 400.4 MB, free: 7.379 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003206/0.3283, allocations: 76.62 kB / 400.5 MB, free: 7.367 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.3287, allocations: 244.7 kB / 400.8 MB, free: 7.137 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.3289, allocations: 73.19 kB / 400.8 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.3291, allocations: 43.39 kB / 400.9 MB, free: 7.082 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.3291, allocations: 1.344 kB / 400.9 MB, free: 7.082 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.3291, allocations: 32.62 kB / 400.9 MB, free: 7.043 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.3291, allocations: 0 / 400.9 MB, free: 7.043 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005719/0.3297, allocations: 152.7 kB / 401.1 MB, free: 6.984 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.3297, allocations: 53.03 kB / 401.1 MB, free: 6.922 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.082e-05/0.3298, allocations: 112.2 kB / 401.2 MB, free: 6.816 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.3298, allocations: 26.8 kB / 401.2 MB, free: 6.785 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.89e-05/0.3298, allocations: 100.3 kB / 401.3 MB, free: 6.688 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.3298, allocations: 12.42 kB / 401.3 MB, free: 6.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.3299, allocations: 17.55 kB / 401.4 MB, free: 6.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.517e-05/0.3299, allocations: 327 kB / 401.7 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.3301, allocations: 34 kB / 401.7 MB, free: 6.332 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.3302, allocations: 38.77 kB / 401.8 MB, free: 6.324 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002826/0.3305, allocations: 81.08 kB / 401.8 MB, free: 6.301 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3305, allocations: 4.375 kB / 401.8 MB, free: 6.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003259/0.3309, allocations: 113.8 kB / 402 MB, free: 6.246 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.3309, allocations: 6.062 kB / 402 MB, free: 6.246 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.3309, allocations: 0 / 402 MB, free: 6.246 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.3309, allocations: 4.641 kB / 402 MB, free: 6.242 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.331, allocations: 19.72 kB / 402 MB, free: 6.242 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.331, allocations: 4 kB / 402 MB, free: 6.238 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.372e-05/0.3311, allocations: 19.98 kB / 402 MB, free: 6.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.3311, allocations: 1.828 kB / 402 MB, free: 6.23 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.155e-05/0.3312, allocations: 116.6 kB / 402.1 MB, free: 6.109 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.3312, allocations: 8.312 kB / 402.1 MB, free: 6.105 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000399/0.3316, allocations: 131.9 kB / 402.3 MB, free: 6.043 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3316, allocations: 4 kB / 402.3 MB, free: 6.039 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3316, allocations: 1.406 kB / 402.3 MB, free: 6.039 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.3316, allocations: 1.688 kB / 402.3 MB, free: 6.039 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.3318, allocations: 130.1 kB / 402.4 MB, free: 5.898 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.3318, allocations: 0.7969 kB / 402.4 MB, free: 5.898 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.3319, allocations: 24.56 kB / 402.4 MB, free: 5.895 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3319, allocations: 0.9375 kB / 402.4 MB, free: 5.895 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.3319, allocations: 1.188 kB / 402.4 MB, free: 5.895 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3319, allocations: 1.25 kB / 402.4 MB, free: 5.895 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3319, allocations: 0 / 402.4 MB, free: 5.895 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/0.3323, allocations: 225.1 kB / 402.6 MB, free: 5.734 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.086e-05/0.3323, allocations: 3.266 kB / 402.6 MB, free: 5.734 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.3323, allocations: 4.797 kB / 402.6 MB, free: 5.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.3324, allocations: 11.11 kB / 402.7 MB, free: 5.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.3324, allocations: 6.312 kB / 402.7 MB, free: 5.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.3324, allocations: 6.172 kB / 402.7 MB, free: 5.727 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.962e-05/0.3325, allocations: 89.36 kB / 402.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3325, allocations: 3.938 kB / 402.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002284/0.3327, allocations: 17.64 kB / 402.8 MB, free: 5.637 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.000123/0.3328, allocations: 97.78 kB / 402.9 MB, free: 5.547 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003791/0.3332, allocations: 93.94 kB / 403 MB, free: 5.523 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3332, allocations: 0 / 403 MB, free: 5.523 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.3334, allocations: 46.16 kB / 403 MB, free: 5.516 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.3337, allocations: 12.28 kB / 403 MB, free: 5.508 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003664/0.3341, allocations: 203.5 kB / 403.2 MB, free: 5.32 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.537e-05/0.3341, allocations: 74.89 kB / 403.3 MB, free: 5.246 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.371e-05/0.3342, allocations: 16.03 kB / 403.3 MB, free: 5.234 MB / 318.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3342, allocations: 0 / 403.3 MB, free: 5.234 MB / 318.1 MB Notification: Performance of Templates: time 0.002946/0.3371, allocations: 0.9807 MB / 404.3 MB, free: 5.164 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/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: 6.917069806251675]