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.001437/0.001437, allocations: 82.67 kB / 21.99 MB, free: 4.75 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.001573/0.001573, allocations: 157.8 kB / 25.24 MB, free: 2.742 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.336/1.336, allocations: 158.6 MB / 187 MB, free: 6.359 MB / 174.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.001848/0.001848, allocations: 60.39 kB / 299.3 MB, free: 6.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2813, allocations: 49.14 MB / 348.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.00341/0.2847, allocations: 1.489 MB / 350 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.2858, allocations: 0.5047 MB / 350.5 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.6e-05/0.2859, allocations: 0 / 350.5 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.286, allocations: 15.88 kB / 350.5 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.711e-05/0.2861, allocations: 15.86 kB / 350.5 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.2863, allocations: 39.91 kB / 350.5 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.2864, allocations: 51.91 kB / 350.6 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.2865, allocations: 11.98 kB / 350.6 MB, free: 13.56 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.2867, allocations: 31.84 kB / 350.6 MB, free: 13.53 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.59e-05/0.2867, allocations: 31.84 kB / 350.7 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.2868, allocations: 8 kB / 350.7 MB, free: 13.49 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.094e-05/0.2868, allocations: 12 kB / 350.7 MB, free: 13.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.959e-05/0.2868, allocations: 15.92 kB / 350.7 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.2869, allocations: 15.94 kB / 350.7 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.2871, allocations: 79.52 kB / 350.8 MB, free: 13.38 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2871, allocations: 0 / 350.8 MB, free: 13.38 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.2871, allocations: 0 / 350.8 MB, free: 13.38 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.2871, allocations: 0 / 350.8 MB, free: 13.38 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.000774/0.2879, allocations: 304.8 kB / 351.1 MB, free: 13.05 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.2879, allocations: 19.92 kB / 351.1 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.272e-05/0.288, allocations: 16.88 kB / 351.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.2881, allocations: 122.4 kB / 351.2 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.2881, allocations: 384 / 351.2 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.2882, allocations: 12.38 kB / 351.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.2885, allocations: 89.89 kB / 351.3 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.2885, allocations: 0 / 351.3 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.2885, allocations: 3.938 kB / 351.3 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.2885, allocations: 0 / 351.3 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003481/0.2888, allocations: 75.92 kB / 351.4 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004402/0.2893, allocations: 252.4 kB / 351.7 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.2896, allocations: 62.53 kB / 351.7 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.2898, allocations: 44.94 kB / 351.8 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.2898, allocations: 4 kB / 351.8 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.2898, allocations: 34.56 kB / 351.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.2898, allocations: 0 / 351.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006171/0.2904, allocations: 149.6 kB / 352 MB, free: 12.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/0.2905, allocations: 55.39 kB / 352 MB, free: 12.03 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.2906, allocations: 109.8 kB / 352.1 MB, free: 11.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.098e-05/0.2907, allocations: 25.7 kB / 352.1 MB, free: 11.88 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.274e-05/0.2907, allocations: 96.03 kB / 352.2 MB, free: 11.78 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.2908, allocations: 15.91 kB / 352.3 MB, free: 11.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.2908, allocations: 22.08 kB / 352.3 MB, free: 11.74 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.291, allocations: 318.8 kB / 352.6 MB, free: 11.42 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.2912, allocations: 39.95 kB / 352.6 MB, free: 11.38 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.2913, allocations: 31.97 kB / 352.7 MB, free: 11.35 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/0.2916, allocations: 92.66 kB / 352.7 MB, free: 11.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2916, allocations: 0 / 352.7 MB, free: 11.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003634/0.292, allocations: 117.6 kB / 352.9 MB, free: 11.13 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.292, allocations: 4 kB / 352.9 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.292, allocations: 0 / 352.9 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.292, allocations: 0 / 352.9 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.2922, allocations: 24.42 kB / 352.9 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.2922, allocations: 0 / 352.9 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.591e-05/0.2923, allocations: 11.92 kB / 352.9 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.2923, allocations: 4 kB / 352.9 MB, free: 11.09 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 0.0001047/0.2924, allocations: 125.7 kB / 353 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/0.2924, allocations: 7.953 kB / 353 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004281/0.2928, allocations: 129.7 kB / 353.2 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.2928, allocations: 0 / 353.2 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2928, allocations: 0 / 353.2 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2928, allocations: 3.984 kB / 353.2 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.293, allocations: 133.2 kB / 353.3 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.293, allocations: 0 / 353.3 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.2931, allocations: 19.98 kB / 353.3 MB, free: 10.63 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/0.2931, allocations: 0 / 353.3 MB, free: 10.63 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.2932, allocations: 7.984 kB / 353.3 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2932, allocations: 0 / 353.3 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2932, allocations: 4 kB / 353.3 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004315/0.2936, allocations: 223.4 kB / 353.5 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.418e-06/0.2936, allocations: 0 / 353.5 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.2936, allocations: 7.984 kB / 353.6 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.2937, allocations: 11.98 kB / 353.6 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.2938, allocations: 7.984 kB / 353.6 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.2938, allocations: 7.984 kB / 353.6 MB, free: 10.35 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.338e-05/0.2938, allocations: 87.28 kB / 353.7 MB, free: 10.26 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2938, allocations: 0 / 353.7 MB, free: 10.26 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000236/0.2941, allocations: 15.95 kB / 353.7 MB, free: 10.25 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.0001405/0.2942, allocations: 103.2 kB / 353.8 MB, free: 10.14 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000384/0.2946, allocations: 88.14 kB / 353.9 MB, free: 10.05 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2946, allocations: 0 / 353.9 MB, free: 10.05 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.2948, allocations: 47.95 kB / 353.9 MB, free: 10 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.2951, allocations: 15.88 kB / 353.9 MB, free: 9.988 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003881/0.2955, allocations: 162 kB / 354.1 MB, free: 9.801 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.772e-05/0.2956, allocations: 83.19 kB / 354.2 MB, free: 9.699 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.996e-05/0.2956, allocations: 0 / 354.2 MB, free: 9.699 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.341e-05/0.2957, allocations: 16.5 kB / 354.2 MB, free: 9.684 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2957, allocations: 0 / 354.2 MB, free: 9.684 MB / 318.1 MB Notification: Performance of Templates: time 0.00391/0.2996, allocations: 0.9529 MB / 355.1 MB, free: 8.727 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 -s ida -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: 4.356058600009419]