Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 84.66 kB / 20.95 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 153.1 kB / 24.26 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 173.3 MB / 200.8 MB, free: 9.305 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/2.898e-05, allocations: 2.312 kB / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002773/0.002802, allocations: 1.553 MB / 268.9 MB, free: 5.164 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.003847, allocations: 490.4 kB / 269.3 MB, free: 4.68 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.467e-05/0.003931, allocations: 7.938 kB / 269.3 MB, free: 4.672 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.759e-05/0.003989, allocations: 7.922 kB / 269.4 MB, free: 4.664 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.004122, allocations: 11.88 kB / 269.4 MB, free: 4.652 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.004397, allocations: 51.81 kB / 269.4 MB, free: 4.602 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.004513, allocations: 43.78 kB / 269.5 MB, free: 4.559 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.843e-05/0.004611, allocations: 11.95 kB / 269.5 MB, free: 4.547 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.004711, allocations: 43.83 kB / 269.5 MB, free: 4.504 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.263e-05/0.004764, allocations: 11.98 kB / 269.5 MB, free: 4.492 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.004785, allocations: 4 kB / 269.5 MB, free: 4.488 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.292e-05/0.004798, allocations: 4 kB / 269.5 MB, free: 4.484 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.296e-05/0.004851, allocations: 11.94 kB / 269.5 MB, free: 4.473 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.004885, allocations: 11.92 kB / 269.6 MB, free: 4.461 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.005022, allocations: 51.81 kB / 269.6 MB, free: 4.41 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.005028, allocations: 3.984 kB / 269.6 MB, free: 4.406 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.00503, allocations: 0 / 269.6 MB, free: 4.406 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.005034, allocations: 0 / 269.6 MB, free: 4.406 MB / 250.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.0005124/0.005546, allocations: 302 kB / 269.9 MB, free: 4.082 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.005582, allocations: 8.922 kB / 269.9 MB, free: 4.074 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.154e-05/0.005634, allocations: 12.89 kB / 269.9 MB, free: 4.062 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.005892, allocations: 145.5 kB / 270.1 MB, free: 3.895 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.005908, allocations: 8.375 kB / 270.1 MB, free: 3.887 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.005919, allocations: 384 / 270.1 MB, free: 3.887 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.006204, allocations: 101.6 kB / 270.2 MB, free: 3.77 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.006212, allocations: 4.188 kB / 270.2 MB, free: 3.766 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.006222, allocations: 4.359 kB / 270.2 MB, free: 3.762 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.006228, allocations: 3.938 kB / 270.2 MB, free: 3.758 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.362e-05/0.006312, allocations: 23.92 kB / 270.2 MB, free: 3.734 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002966/0.006608, allocations: 201.4 kB / 270.4 MB, free: 3.504 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.664e-05/0.006705, allocations: 45.14 kB / 270.5 MB, free: 3.441 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.683e-05/0.006762, allocations: 25.77 kB / 270.5 MB, free: 3.41 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.006778, allocations: 0 / 270.5 MB, free: 3.41 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.006814, allocations: 42.5 kB / 270.5 MB, free: 3.359 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.006815, allocations: 0 / 270.5 MB, free: 3.359 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002605/0.007075, allocations: 65.56 kB / 270.6 MB, free: 3.289 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.00714, allocations: 81.11 kB / 270.7 MB, free: 3.191 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.007285, allocations: 141.2 kB / 270.8 MB, free: 3.043 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.007302, allocations: 25.7 kB / 270.8 MB, free: 3.012 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.606e-05/0.007368, allocations: 96.06 kB / 270.9 MB, free: 2.914 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.948e-06/0.007378, allocations: 0 / 270.9 MB, free: 2.914 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.007416, allocations: 17.92 kB / 270.9 MB, free: 2.891 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.007572, allocations: 318.8 kB / 271.2 MB, free: 2.57 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.923e-05/0.007612, allocations: 7.984 kB / 271.3 MB, free: 2.562 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.685e-05/0.007638, allocations: 4 kB / 271.3 MB, free: 2.559 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.542e-05/0.007714, allocations: 28.78 kB / 271.3 MB, free: 2.527 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.007715, allocations: 0 / 271.3 MB, free: 2.527 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000112/0.007827, allocations: 45.69 kB / 271.3 MB, free: 2.477 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.007841, allocations: 7.938 kB / 271.3 MB, free: 2.469 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.007845, allocations: 4.094 kB / 271.3 MB, free: 2.465 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.007856, allocations: 4 kB / 271.3 MB, free: 2.461 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.702e-05/0.007913, allocations: 7.922 kB / 271.4 MB, free: 2.453 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.007917, allocations: 0 / 271.4 MB, free: 2.453 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.491e-05/0.007962, allocations: 7.984 kB / 271.4 MB, free: 2.445 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.007968, allocations: 0 / 271.4 MB, free: 2.445 MB / 250.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 9.933e-05/0.008067, allocations: 117.8 kB / 271.5 MB, free: 2.32 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.949e-05/0.008137, allocations: 45.53 kB / 271.5 MB, free: 2.27 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/0.008166, allocations: 15.77 kB / 271.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.008167, allocations: 4.031 kB / 271.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.008173, allocations: 3.984 kB / 271.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.008175, allocations: 0 / 271.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.008323, allocations: 113.3 kB / 271.7 MB, free: 2.105 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.008328, allocations: 4 kB / 271.7 MB, free: 2.102 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.372e-05/0.008372, allocations: 4 kB / 271.7 MB, free: 2.098 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.008373, allocations: 0 / 271.7 MB, free: 2.098 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.008387, allocations: 11.92 kB / 271.7 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.008388, allocations: 0 / 271.7 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.008389, allocations: 0 / 271.7 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.008586, allocations: 164.3 kB / 271.8 MB, free: 1.906 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.008622, allocations: 15.94 kB / 271.9 MB, free: 1.891 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.008639, allocations: 3.938 kB / 271.9 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.567e-05/0.008704, allocations: 0 / 271.9 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.008739, allocations: 4 kB / 271.9 MB, free: 1.883 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.008744, allocations: 3.984 kB / 271.9 MB, free: 1.879 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.047e-05/0.008834, allocations: 110.2 kB / 272 MB, free: 1.773 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008834, allocations: 0 / 272 MB, free: 1.773 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002221/0.009057, allocations: 4 kB / 272 MB, free: 1.77 MB / 250.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.0001056/0.009162, allocations: 99.28 kB / 272.1 MB, free: 1.664 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.009286, allocations: 23.92 kB / 272.1 MB, free: 1.641 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.009287, allocations: 0 / 272.1 MB, free: 1.641 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.725e-05/0.009324, allocations: 7.984 kB / 272.1 MB, free: 1.633 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.009652, allocations: 20.3 kB / 272.1 MB, free: 1.609 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003516/0.01, allocations: 168.8 kB / 272.3 MB, free: 1.418 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.481e-05/0.01009, allocations: 75.55 kB / 272.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.553e-05/0.01011, allocations: 0 / 272.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.293e-05/0.01015, allocations: 12.5 kB / 272.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01015, allocations: 3.938 kB / 272.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of Templates: time 0.002962/0.01311, allocations: 0.5826 MB / 273 MB, free: 0.7344 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.169086025911383]