Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.001851/0.001851, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002235/0.002235, allocations: 161.7 kB / 24.27 MB, free: 172 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.437/1.437, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.352e-05/3.554e-05, allocations: 2.312 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003303/0.003339, allocations: 1.583 MB / 273.9 MB, free: 244 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.004663, allocations: 0.5297 MB / 274.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.752e-05/0.004751, allocations: 4 kB / 274.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.866e-05/0.004819, allocations: 7.875 kB / 274.4 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.004983, allocations: 7.938 kB / 274.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003524/0.005335, allocations: 67.61 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.005457, allocations: 47.84 kB / 274.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.721e-05/0.005554, allocations: 4.188 kB / 274.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.005713, allocations: 43.89 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.847e-05/0.005772, allocations: 15.92 kB / 274.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.005796, allocations: 4 kB / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.702e-05/0.005843, allocations: 4 kB / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.514e-05/0.005898, allocations: 11.94 kB / 274.6 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.071e-05/0.005939, allocations: 23.91 kB / 274.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.006111, allocations: 59.73 kB / 274.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.006115, allocations: 0 / 274.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.006116, allocations: 0 / 274.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.006122, allocations: 0 / 274.7 MB, free: 15.41 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000547/0.006669, allocations: 306 kB / 275 MB, free: 15.08 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.006711, allocations: 8.031 kB / 275 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001984/0.00691, allocations: 20.88 kB / 275 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003981/0.007308, allocations: 141.6 kB / 275.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.007325, allocations: 8.359 kB / 275.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.007338, allocations: 4.375 kB / 275.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003252/0.007663, allocations: 113.5 kB / 275.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.007671, allocations: 192 / 275.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.007683, allocations: 8.062 kB / 275.3 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.007689, allocations: 0 / 275.3 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.395e-05/0.007783, allocations: 19.98 kB / 275.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003485/0.008131, allocations: 201.5 kB / 275.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.008242, allocations: 49.16 kB / 275.6 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.58e-05/0.008298, allocations: 17.77 kB / 275.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.008318, allocations: 4 kB / 275.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/0.008359, allocations: 42.5 kB / 275.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.00836, allocations: 0 / 275.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002824/0.008643, allocations: 69.56 kB / 275.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.189e-05/0.008725, allocations: 81.05 kB / 275.8 MB, free: 14.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.008887, allocations: 149.1 kB / 275.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.00891, allocations: 25.7 kB / 276 MB, free: 13.99 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.044e-05/0.00899, allocations: 84.14 kB / 276 MB, free: 13.9 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.009011, allocations: 12.2 kB / 276.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.009047, allocations: 9.719 kB / 276.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.009226, allocations: 322.8 kB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.209e-05/0.009268, allocations: 4 kB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.081e-05/0.009299, allocations: 7.984 kB / 276.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.062e-05/0.00937, allocations: 20.84 kB / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.009371, allocations: 0 / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001225/0.009494, allocations: 65.58 kB / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.00951, allocations: 4 kB / 276.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.009515, allocations: 0 / 276.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.009531, allocations: 0 / 276.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.789e-05/0.009599, allocations: 4 kB / 276.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.962e-05/0.009619, allocations: 4 kB / 276.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.772e-05/0.009657, allocations: 7.984 kB / 276.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.009663, allocations: 0 / 276.5 MB, free: 13.43 MB / 266.7 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 (1): * Single equations (assignments): 1 * 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.0001037/0.009767, allocations: 113.8 kB / 276.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.99e-05/0.009836, allocations: 45.58 kB / 276.6 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.306e-05/0.00987, allocations: 15.88 kB / 276.7 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.009871, allocations: 0 / 276.7 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.009876, allocations: 0 / 276.7 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.009878, allocations: 3.938 kB / 276.7 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.01005, allocations: 117.3 kB / 276.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01006, allocations: 0 / 276.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.618e-05/0.0101, allocations: 7.938 kB / 276.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.0101, allocations: 0 / 276.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.01011, allocations: 3.938 kB / 276.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.01012, allocations: 4 kB / 276.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01012, allocations: 0 / 276.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.01032, allocations: 164.3 kB / 277 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.246e-05/0.01035, allocations: 7.953 kB / 277 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.01037, allocations: 11.92 kB / 277 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.401e-05/0.01044, allocations: 0 / 277 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.01048, allocations: 11.98 kB / 277 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.01049, allocations: 0 / 277 MB, free: 12.87 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001065/0.01059, allocations: 107.2 kB / 277.1 MB, free: 12.76 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01059, allocations: 0 / 277.1 MB, free: 12.76 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002129/0.01081, allocations: 4 kB / 277.1 MB, free: 12.76 MB / 266.7 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 0.0001264/0.01093, allocations: 107.2 kB / 277.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001319/0.01106, allocations: 19.98 kB / 277.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.01107, allocations: 0 / 277.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.121e-05/0.01111, allocations: 11.98 kB / 277.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.01148, allocations: 12.31 kB / 277.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004024/0.01188, allocations: 169 kB / 277.4 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.01198, allocations: 75.58 kB / 277.5 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.781e-05/0.01202, allocations: 11.98 kB / 277.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.01205, allocations: 8.5 kB / 277.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of SimCode: time 3.51e-07/0.01205, allocations: 0 / 277.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of Templates: time 0.003557/0.01561, allocations: 0.5749 MB / 278.1 MB, free: 11.73 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.244391787913628]