Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.00145/0.00145, allocations: 89.38 kB / 20.69 MB, free: 1.02 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.001654/0.001654, allocations: 159 kB / 23.95 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 177 MB / 204.1 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.226e-06/3.226e-06, allocations: 1.219 kB / 325 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.31e-05/3.633e-05, allocations: 2.281 kB / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.005033/0.005069, allocations: 1.563 MB / 326.6 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.006448, allocations: 0.5447 MB / 327.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.054e-05/0.006538, allocations: 5.062 kB / 327.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.053e-05/0.006589, allocations: 5.25 kB / 327.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.006738, allocations: 7.797 kB / 327.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003736/0.007111, allocations: 62.95 kB / 327.2 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.007259, allocations: 56.39 kB / 327.2 MB, free: 15 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.007407, allocations: 10.64 kB / 327.3 MB, free: 15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.007597, allocations: 32.28 kB / 327.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.413e-05/0.007681, allocations: 17.12 kB / 327.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.007706, allocations: 3.281 kB / 327.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.285e-05/0.007769, allocations: 9.219 kB / 327.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.25e-05/0.007842, allocations: 15.31 kB / 327.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.92e-05/0.007881, allocations: 11.09 kB / 327.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.008112, allocations: 65.39 kB / 327.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.00812, allocations: 0.9844 kB / 327.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.008122, allocations: 4 kB / 327.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.008135, allocations: 1.062 kB / 327.4 MB, free: 14.93 MB / 302.1 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.0007433/0.008879, allocations: 301.8 kB / 327.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.226e-05/0.008941, allocations: 13.7 kB / 327.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001971/0.009138, allocations: 21.06 kB / 327.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.00952, allocations: 136.9 kB / 327.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.009535, allocations: 5.812 kB / 327.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.009556, allocations: 4.281 kB / 327.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004025/0.009959, allocations: 117.7 kB / 328 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.009973, allocations: 192 / 328 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.009991, allocations: 5.875 kB / 328 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.01, allocations: 3.984 kB / 328 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.735e-05/0.0101, allocations: 22.56 kB / 328 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004198/0.01052, allocations: 205.8 kB / 328.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.01064, allocations: 46.27 kB / 328.3 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.222e-05/0.0107, allocations: 23.34 kB / 328.3 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.01072, allocations: 0 / 328.3 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.01075, allocations: 38.36 kB / 328.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.01075, allocations: 0 / 328.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.000291/0.01105, allocations: 65.92 kB / 328.4 MB, free: 14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.201e-05/0.01113, allocations: 83.14 kB / 328.5 MB, free: 13.9 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.01132, allocations: 142.2 kB / 328.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.01134, allocations: 30.89 kB / 328.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.437e-05/0.01141, allocations: 87.61 kB / 328.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.01143, allocations: 5.75 kB / 328.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.004e-05/0.01148, allocations: 16.5 kB / 328.8 MB, free: 13.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002255/0.01171, allocations: 315 kB / 329.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.286e-05/0.01175, allocations: 5.469 kB / 329.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.537e-05/0.01178, allocations: 14.64 kB / 329.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.172e-05/0.01187, allocations: 22.25 kB / 329.1 MB, free: 13.31 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.01187, allocations: 4.062 kB / 329.1 MB, free: 13.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001364/0.012, allocations: 55.64 kB / 329.2 MB, free: 13.26 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.01202, allocations: 6.172 kB / 329.2 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.01203, allocations: 0 / 329.2 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.01204, allocations: 0 / 329.2 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.663e-05/0.01211, allocations: 5.484 kB / 329.2 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.01212, allocations: 0.5156 kB / 329.2 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.558e-05/0.01215, allocations: 1.625 kB / 329.2 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.01217, allocations: 5.766 kB / 329.2 MB, free: 13.26 MB / 302.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 (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.0001261/0.01229, allocations: 121.2 kB / 329.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-05/0.01239, allocations: 45.25 kB / 329.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.594e-05/0.01242, allocations: 16.78 kB / 329.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.01243, allocations: 0 / 329.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.01243, allocations: 2.531 kB / 329.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.01244, allocations: 3.938 kB / 329.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.01262, allocations: 113 kB / 329.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01262, allocations: 0 / 329.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.906e-05/0.01267, allocations: 7.203 kB / 329.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.01267, allocations: 0 / 329.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.01268, allocations: 14.14 kB / 329.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.01269, allocations: 1.469 kB / 329.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01269, allocations: 0 / 329.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.01293, allocations: 158.7 kB / 329.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.955e-05/0.01298, allocations: 19.45 kB / 329.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.057e-05/0.01302, allocations: 6.172 kB / 329.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.683e-05/0.0131, allocations: 8.156 kB / 329.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.01314, allocations: 0.6094 kB / 329.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.01315, allocations: 2 kB / 329.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001189/0.01327, allocations: 119.2 kB / 329.8 MB, free: 12.69 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01327, allocations: 0 / 329.8 MB, free: 12.69 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002373/0.0135, allocations: 4.344 kB / 329.8 MB, free: 12.69 MB / 302.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 0.0001271/0.01363, allocations: 94.47 kB / 329.9 MB, free: 12.6 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001481/0.01378, allocations: 20.84 kB / 329.9 MB, free: 12.6 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.01378, allocations: 3.938 kB / 329.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.376e-05/0.01383, allocations: 7.484 kB / 329.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.01419, allocations: 23.81 kB / 330 MB, free: 12.58 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004301/0.01462, allocations: 158.1 kB / 330.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.01473, allocations: 75.86 kB / 330.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.682e-05/0.01477, allocations: 3.062 kB / 330.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.975e-05/0.01481, allocations: 10.91 kB / 330.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.01481, allocations: 0 / 330.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of Templates: time 0.004176/0.01898, allocations: 0.5661 MB / 330.8 MB, free: 12.26 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.386127009987831]