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.001636/0.001636, allocations: 112.2 kB / 19.04 MB, free: 3.254 MB / 14.72 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.001758/0.001758, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 14.72 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.436/1.436, allocations: 225.6 MB / 250.8 MB, free: 13.37 MB / 206.1 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 0.001548/0.001548, allocations: 51.91 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3339, allocations: 52.13 MB / 420.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002951/0.3369, allocations: 1.58 MB / 422.4 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009119/0.3378, allocations: 0.5064 MB / 422.9 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.193e-05/0.3379, allocations: 0 / 422.9 MB, free: 13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.734e-05/0.3379, allocations: 7.922 kB / 422.9 MB, free: 13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.3381, allocations: 11.88 kB / 423 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.3383, allocations: 51.33 kB / 423 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.3385, allocations: 51.83 kB / 423.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.3386, allocations: 8 kB / 423.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.826e-05/0.3386, allocations: 23.86 kB / 423.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.207e-05/0.3387, allocations: 19.86 kB / 423.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.3387, allocations: 8 kB / 423.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.267e-05/0.3387, allocations: 4 kB / 423.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.583e-05/0.3388, allocations: 19.97 kB / 423.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.282e-05/0.3388, allocations: 23.81 kB / 423.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.339, allocations: 59.39 kB / 423.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.339, allocations: 0 / 423.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.339, allocations: 0 / 423.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.339, allocations: 0 / 423.2 MB, free: 12.73 MB / 334.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.000523/0.3395, allocations: 376.7 kB / 423.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3395, allocations: 15.97 kB / 423.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.3396, allocations: 12.89 kB / 423.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.3398, allocations: 196.1 kB / 423.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.3398, allocations: 4.375 kB / 423.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.3398, allocations: 4.375 kB / 423.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.3401, allocations: 109.3 kB / 423.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3401, allocations: 0 / 423.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.3401, allocations: 0 / 423.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.3401, allocations: 0 / 423.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.675e-05/0.3402, allocations: 23.92 kB / 423.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003452/0.3406, allocations: 265.7 kB / 424.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.251e-05/0.3407, allocations: 45.16 kB / 424.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.617e-05/0.3407, allocations: 21.77 kB / 424.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.3407, allocations: 3.984 kB / 424.3 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.3408, allocations: 34.56 kB / 424.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 7.604e-06/0.3408, allocations: 4 kB / 424.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.000277/0.341, allocations: 69.61 kB / 424.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.811e-05/0.3411, allocations: 77.11 kB / 424.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.3413, allocations: 142.1 kB / 424.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.3413, allocations: 25.7 kB / 424.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.376e-05/0.3414, allocations: 88.14 kB / 424.7 MB, free: 11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.3414, allocations: 4.25 kB / 424.7 MB, free: 11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.3414, allocations: 21.67 kB / 424.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.3416, allocations: 318.8 kB / 425 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.193e-05/0.3416, allocations: 11.94 kB / 425.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.75e-05/0.3417, allocations: 17.7 kB / 425.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.958e-05/0.3417, allocations: 41.64 kB / 425.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3417, allocations: 0 / 425.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001154/0.3419, allocations: 53.62 kB / 425.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.3419, allocations: 4 kB / 425.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3419, allocations: 0 / 425.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3419, allocations: 4 kB / 425.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.03e-05/0.342, allocations: 7.984 kB / 425.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.342, allocations: 7.922 kB / 425.2 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.585e-05/0.342, allocations: 8.062 kB / 425.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.342, allocations: 0 / 425.2 MB, free: 10.48 MB / 334.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 9.732e-05/0.3421, allocations: 125.7 kB / 425.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.324e-05/0.3422, allocations: 37.66 kB / 425.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.999e-05/0.3422, allocations: 7.875 kB / 425.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3422, allocations: 4 kB / 425.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3422, allocations: 3.938 kB / 425.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.3422, allocations: 0 / 425.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.3424, allocations: 173.6 kB / 425.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.3424, allocations: 8.031 kB / 425.5 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.263e-05/0.3425, allocations: 7.984 kB / 425.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3425, allocations: 0 / 425.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.3425, allocations: 0 / 425.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3425, allocations: 0 / 425.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.3425, allocations: 4 kB / 425.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.3426, allocations: 164.3 kB / 425.7 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.373e-05/0.3427, allocations: 89.05 kB / 425.8 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.3427, allocations: 4 kB / 425.8 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.025e-05/0.3428, allocations: 0 / 425.8 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.3428, allocations: 7.938 kB / 425.8 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.3428, allocations: 4 kB / 425.8 MB, free: 9.746 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.319e-05/0.3429, allocations: 110 kB / 425.9 MB, free: 9.641 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3429, allocations: 0 / 425.9 MB, free: 9.641 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002108/0.3431, allocations: 7.938 kB / 425.9 MB, free: 9.633 MB / 334.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.0001184/0.3433, allocations: 100.1 kB / 426 MB, free: 9.527 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001333/0.3434, allocations: 19.98 kB / 426.1 MB, free: 9.508 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3434, allocations: 0 / 426.1 MB, free: 9.508 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.154e-05/0.3434, allocations: 15.92 kB / 426.1 MB, free: 9.492 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.3438, allocations: 27.89 kB / 426.1 MB, free: 9.465 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004073/0.3442, allocations: 159.8 kB / 426.3 MB, free: 9.281 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.3445, allocations: 0.6922 MB / 426.9 MB, free: 8.562 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.587e-05/0.3446, allocations: 7.984 kB / 427 MB, free: 8.555 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.415e-05/0.3446, allocations: 7.438 kB / 427 MB, free: 8.547 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3446, allocations: 0 / 427 MB, free: 8.547 MB / 334.1 MB Notification: Performance of Templates: time 0.003188/0.3478, allocations: 0.5294 MB / 427.5 MB, free: 8.023 MB / 334.1 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.73994714487344]