Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.002588/0.002588, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.00357/0.00357, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 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.594/1.594, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 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.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.727e-05/3.93e-05, allocations: 2.312 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.005447/0.005486, allocations: 1.714 MB / 274 MB, free: 104 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008285/0.006314, allocations: 167.4 kB / 274.2 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.006417, allocations: 0 / 274.2 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.072e-05/0.006508, allocations: 11.86 kB / 274.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001725/0.00668, allocations: 7.938 kB / 274.2 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003864/0.007067, allocations: 51.75 kB / 274.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.007252, allocations: 55.84 kB / 274.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.007396, allocations: 19.98 kB / 274.4 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.007497, allocations: 31.91 kB / 274.4 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.703e-05/0.007574, allocations: 15.97 kB / 274.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.142e-05/0.007605, allocations: 4 kB / 274.4 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.477e-05/0.00763, allocations: 8 kB / 274.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.942e-05/0.007699, allocations: 15.92 kB / 274.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.911e-05/0.007748, allocations: 15.92 kB / 274.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.00798, allocations: 75.66 kB / 274.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.007984, allocations: 0 / 274.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.007985, allocations: 0 / 274.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.007992, allocations: 4 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008571/0.008849, allocations: 423.8 kB / 274.9 MB, free: 15.17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.008898, allocations: 8.031 kB / 274.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.258e-05/0.00898, allocations: 12.89 kB / 275 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.009329, allocations: 148.4 kB / 275.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.009353, allocations: 8.375 kB / 275.1 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.009376, allocations: 4.375 kB / 275.1 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006238/0.01, allocations: 183.7 kB / 275.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.01001, allocations: 192 / 275.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.01003, allocations: 384 / 275.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.01003, allocations: 384 / 275.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001901/0.01022, allocations: 39.86 kB / 275.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007357/0.01096, allocations: 414.3 kB / 275.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004684/0.01143, allocations: 133.3 kB / 275.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/0.01163, allocations: 67.14 kB / 275.9 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.94e-05/0.01167, allocations: 4 kB / 275.9 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.941e-05/0.01173, allocations: 41.33 kB / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.974e-06/0.01173, allocations: 0 / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006006/0.01233, allocations: 121.6 kB / 276.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/0.01247, allocations: 110.8 kB / 276.2 MB, free: 13.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/0.01277, allocations: 203.6 kB / 276.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.0128, allocations: 25.7 kB / 276.4 MB, free: 13.47 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.01295, allocations: 143.1 kB / 276.6 MB, free: 13.33 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.01299, allocations: 11.95 kB / 276.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.001e-05/0.01306, allocations: 19.38 kB / 276.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004226/0.01348, allocations: 0.4923 MB / 277.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.067e-05/0.01354, allocations: 4 kB / 277.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.89e-05/0.01362, allocations: 27.31 kB / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.01375, allocations: 27.36 kB / 277.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.01376, allocations: 0 / 277.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002187/0.01398, allocations: 61.64 kB / 277.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.014, allocations: 7.938 kB / 277.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.01401, allocations: 0 / 277.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.803e-05/0.01404, allocations: 4 kB / 277.2 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.548e-05/0.0141, allocations: 4 kB / 277.2 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.01411, allocations: 0 / 277.2 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.755e-05/0.01416, allocations: 0 / 277.2 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.01416, allocations: 0 / 277.2 MB, free: 12.63 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001888/0.01435, allocations: 168.5 kB / 277.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002761/0.01463, allocations: 85.64 kB / 277.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.395e-05/0.01469, allocations: 20.72 kB / 277.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.0147, allocations: 4 kB / 277.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.0147, allocations: 0 / 277.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.01471, allocations: 0 / 277.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004045/0.01511, allocations: 144.6 kB / 277.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.01511, allocations: 0 / 277.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.01524, allocations: 16 kB / 277.7 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.01524, allocations: 3.984 kB / 277.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.01526, allocations: 4 kB / 277.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.01527, allocations: 3.938 kB / 277.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.01527, allocations: 7.984 kB / 277.7 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007275/0.016, allocations: 414.2 kB / 278.1 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.128e-05/0.01608, allocations: 23.88 kB / 278.1 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.0161, allocations: 0 / 278.1 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.01629, allocations: 8 kB / 278.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.01634, allocations: 0 / 278.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.01635, allocations: 4 kB / 278.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001776/0.01653, allocations: 157.9 kB / 278.3 MB, free: 11.51 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.01653, allocations: 0 / 278.3 MB, free: 11.51 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004861/0.01702, allocations: 8 kB / 278.3 MB, free: 11.5 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0001919/0.01721, allocations: 103.2 kB / 278.4 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000271/0.01748, allocations: 35.67 kB / 278.4 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.01748, allocations: 0 / 278.4 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.123e-05/0.01757, allocations: 23.62 kB / 278.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008069/0.01838, allocations: 42.23 kB / 278.5 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007012/0.01908, allocations: 220.2 kB / 278.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001796/0.01926, allocations: 87.31 kB / 278.8 MB, free: 10.92 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.87e-05/0.0193, allocations: 3.938 kB / 278.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.876e-05/0.01935, allocations: 12.5 kB / 278.8 MB, free: 10.9 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01935, allocations: 0 / 278.8 MB, free: 10.9 MB / 266.7 MB Notification: Performance of Templates: time 0.006218/0.02557, allocations: 0.6911 MB / 279.5 MB, free: 10.23 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.8142897030338645]