Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001541/0.001541, allocations: 116.2 kB / 19.18 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001611/0.001611, allocations: 208.9 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.489/1.489, allocations: 230.5 MB / 255.4 MB, free: 15.03 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 67.83 kB / 374.8 MB, free: 9.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1052, allocations: 53.31 MB / 428.1 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003037/0.1082, allocations: 1.572 MB / 429.6 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009777/0.1092, allocations: 0.5376 MB / 430.2 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.229e-05/0.1093, allocations: 4 kB / 430.2 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.213e-05/0.1093, allocations: 3.938 kB / 430.2 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.1095, allocations: 11.92 kB / 430.2 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.1098, allocations: 59.75 kB / 430.3 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.1099, allocations: 43.8 kB / 430.3 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.746e-05/0.1099, allocations: 7.984 kB / 430.3 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.1101, allocations: 31.91 kB / 430.3 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.688e-05/0.1101, allocations: 11.92 kB / 430.3 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.1101, allocations: 4 kB / 430.3 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.28e-05/0.1102, allocations: 11.94 kB / 430.4 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.389e-05/0.1102, allocations: 11.94 kB / 430.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.1103, allocations: 31.8 kB / 430.4 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.1104, allocations: 47.75 kB / 430.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1104, allocations: 0 / 430.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1104, allocations: 0 / 430.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1104, allocations: 0 / 430.4 MB, free: 1.965 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004914/0.1109, allocations: 375.1 kB / 430.8 MB, free: 1.551 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.1109, allocations: 8.031 kB / 430.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.1111, allocations: 16.88 kB / 430.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.1113, allocations: 208.1 kB / 431 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.1113, allocations: 384 / 431 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.1113, allocations: 4.375 kB / 431 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.1116, allocations: 93.36 kB / 431.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.1116, allocations: 0 / 431.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.1116, allocations: 4 kB / 431.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1116, allocations: 4 kB / 431.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.113e-05/0.1117, allocations: 19.92 kB / 431.2 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/0.112, allocations: 265.7 kB / 431.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.773e-05/0.1121, allocations: 49.14 kB / 431.5 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.258e-05/0.1122, allocations: 17.78 kB / 431.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.1122, allocations: 0 / 431.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.1122, allocations: 38.55 kB / 431.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.1122, allocations: 0 / 431.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002411/0.1125, allocations: 61.83 kB / 431.6 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.25e-05/0.1125, allocations: 89.11 kB / 431.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.1127, allocations: 140.4 kB / 431.8 MB, free: 384 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.1127, allocations: 25.7 kB / 431.8 MB, free: 352 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.405e-05/0.1127, allocations: 84.14 kB / 431.9 MB, free: 264 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.344e-05/0.1128, allocations: 4 kB / 431.9 MB, free: 260 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.1128, allocations: 21.66 kB / 431.9 MB, free: 232 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.176/0.2888, allocations: 314.8 kB / 432.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.877e-05/0.2888, allocations: 6 kB / 432.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.935e-05/0.2889, allocations: 21.67 kB / 432.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.095e-05/0.289, allocations: 38.11 kB / 432.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.289, allocations: 1.812 kB / 432.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00013/0.2891, allocations: 51.8 kB / 432.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.2891, allocations: 6.359 kB / 432.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.2891, allocations: 3.25 kB / 432.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.2892, allocations: 4 kB / 432.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.615e-05/0.2892, allocations: 6.078 kB / 432.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2892, allocations: 6.016 kB / 432.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.208e-05/0.2893, allocations: 2.328 kB / 432.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.2893, allocations: 0.8438 kB / 432.4 MB, free: 11.08 MB / 350.1 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 6.952e-05/0.2894, allocations: 124.4 kB / 432.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.657e-05/0.2894, allocations: 36.83 kB / 432.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.063e-05/0.2894, allocations: 13.17 kB / 432.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.2894, allocations: 4.938 kB / 432.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2894, allocations: 2.219 kB / 432.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.2895, allocations: 0.8125 kB / 432.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.2896, allocations: 165.6 kB / 432.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.2896, allocations: 3.312 kB / 432.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.484e-05/0.2896, allocations: 7.594 kB / 432.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2896, allocations: 0 / 432.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.2897, allocations: 1.656 kB / 432.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2897, allocations: 13.22 kB / 432.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.2897, allocations: 1.5 kB / 432.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.2898, allocations: 157.7 kB / 432.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.019e-05/0.2898, allocations: 88.84 kB / 433 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.2898, allocations: 6.438 kB / 433 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.242e-05/0.2899, allocations: 9.359 kB / 433 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.2899, allocations: 3.594 kB / 433 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.2899, allocations: 3.344 kB / 433 MB, free: 10.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.842e-05/0.29, allocations: 107.7 kB / 433.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.29, allocations: 0.6562 kB / 433.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000253/0.2903, allocations: 4.75 kB / 433.1 MB, free: 10.42 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 8.908e-05/0.2904, allocations: 99.38 kB / 433.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.2905, allocations: 25.28 kB / 433.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2905, allocations: 0 / 433.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.036e-05/0.2905, allocations: 13.27 kB / 433.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.2908, allocations: 14.09 kB / 433.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/0.2911, allocations: 187.4 kB / 433.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.2912, allocations: 0.6918 MB / 434.2 MB, free: 9.484 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.2913, allocations: 12.28 kB / 434.2 MB, free: 9.477 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2913, allocations: 0 / 434.2 MB, free: 9.477 MB / 350.1 MB Notification: Performance of Templates: time 0.002033/0.2933, allocations: 0.7083 MB / 434.9 MB, free: 9.469 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.782997492002323]