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.0009796/0.0009796, allocations: 80.72 kB / 22.21 MB, free: 2.293 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.001261/0.001261, allocations: 143 kB / 25.59 MB, free: 8.918 MB / 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 0.9204/0.9204, allocations: 173.4 MB / 202.3 MB, free: 8.293 MB / 186.7 MB " [Timeout remaining time 179] 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.393e-06/1.393e-06, allocations: 0 / 269.2 MB, free: 9.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.28e-05, allocations: 3.188 kB / 269.2 MB, free: 9.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002019/0.002042, allocations: 1.587 MB / 270.8 MB, free: 8.211 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006272/0.002669, allocations: 492.9 kB / 271.3 MB, free: 7.727 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.956e-05/0.002739, allocations: 4 kB / 271.3 MB, free: 7.723 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.228e-05/0.002781, allocations: 3.938 kB / 271.3 MB, free: 7.719 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.002894, allocations: 7.875 kB / 271.3 MB, free: 7.711 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.003084, allocations: 56.25 kB / 271.3 MB, free: 7.656 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.337e-05/0.003178, allocations: 47.78 kB / 271.4 MB, free: 7.609 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.947e-05/0.003267, allocations: 12.73 kB / 271.4 MB, free: 7.598 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.8e-05/0.003355, allocations: 28.61 kB / 271.4 MB, free: 7.57 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.999e-05/0.003405, allocations: 11.97 kB / 271.4 MB, free: 7.559 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.003424, allocations: 4.719 kB / 271.4 MB, free: 7.555 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.003434, allocations: 4 kB / 271.4 MB, free: 7.551 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.052e-05/0.003474, allocations: 17.7 kB / 271.5 MB, free: 7.535 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.959e-05/0.003494, allocations: 11.94 kB / 271.5 MB, free: 7.523 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.512e-05/0.003589, allocations: 47.77 kB / 271.5 MB, free: 7.477 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.003591, allocations: 0 / 271.5 MB, free: 7.477 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.003592, allocations: 0 / 271.5 MB, free: 7.477 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.003596, allocations: 1.469 kB / 271.5 MB, free: 7.477 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.0003179/0.003914, allocations: 396.3 kB / 271.9 MB, free: 7.055 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.003943, allocations: 8.031 kB / 271.9 MB, free: 7.047 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.003972, allocations: 12.89 kB / 271.9 MB, free: 7.035 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.004109, allocations: 145.8 kB / 272.1 MB, free: 6.867 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.004118, allocations: 8.375 kB / 272.1 MB, free: 6.859 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.004127, allocations: 5 kB / 272.1 MB, free: 6.855 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.004284, allocations: 122.8 kB / 272.2 MB, free: 6.711 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.004291, allocations: 0.8438 kB / 272.2 MB, free: 6.711 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-06/0.004297, allocations: 4.375 kB / 272.2 MB, free: 6.707 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.004303, allocations: 4.438 kB / 272.2 MB, free: 6.703 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.392e-05/0.004317, allocations: 8 kB / 272.2 MB, free: 6.695 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.004498, allocations: 244 kB / 272.5 MB, free: 6.426 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.629e-05/0.004544, allocations: 62.11 kB / 272.5 MB, free: 6.34 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.594e-05/0.00456, allocations: 19.38 kB / 272.5 MB, free: 6.312 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.004572, allocations: 4.062 kB / 272.5 MB, free: 6.309 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.00459, allocations: 37.33 kB / 272.6 MB, free: 6.262 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 1.432e-06/0.004592, allocations: 0 / 272.6 MB, free: 6.262 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001125/0.004704, allocations: 53.52 kB / 272.6 MB, free: 6.203 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.00474, allocations: 85.36 kB / 272.7 MB, free: 6.102 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.015e-05/0.004821, allocations: 185.9 kB / 272.9 MB, free: 5.902 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.004829, allocations: 29.7 kB / 272.9 MB, free: 5.867 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/0.00487, allocations: 134.9 kB / 273 MB, free: 5.73 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.099e-05/0.004881, allocations: 0 / 273 MB, free: 5.73 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/0.004909, allocations: 31.31 kB / 273.1 MB, free: 5.691 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.005022, allocations: 496.1 kB / 273.6 MB, free: 5.195 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.739e-06/0.005032, allocations: 4 kB / 273.6 MB, free: 5.191 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.011e-06/0.005038, allocations: 0 / 273.6 MB, free: 5.191 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.011e-05/0.005058, allocations: 11.69 kB / 273.6 MB, free: 5.176 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.00506, allocations: 4.062 kB / 273.6 MB, free: 5.172 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.78e-05/0.005107, allocations: 37.62 kB / 273.6 MB, free: 5.129 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.005118, allocations: 8 kB / 273.6 MB, free: 5.121 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.005123, allocations: 3.938 kB / 273.6 MB, free: 5.117 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.715e-06/0.005131, allocations: 0 / 273.6 MB, free: 5.117 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.88e-05/0.005179, allocations: 0 / 273.6 MB, free: 5.117 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-06/0.005182, allocations: 3.938 kB / 273.6 MB, free: 5.113 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.36e-05/0.005195, allocations: 4 kB / 273.6 MB, free: 5.109 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.005201, allocations: 3.984 kB / 273.6 MB, free: 5.105 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 5.697e-05/0.005258, allocations: 152.6 kB / 273.8 MB, free: 4.945 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.005295, allocations: 45.66 kB / 273.8 MB, free: 4.895 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.005322, allocations: 19.69 kB / 273.9 MB, free: 4.875 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.005323, allocations: 0 / 273.9 MB, free: 4.875 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.005325, allocations: 0 / 273.9 MB, free: 4.875 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.005328, allocations: 7.922 kB / 273.9 MB, free: 4.867 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.177e-05/0.00542, allocations: 101.2 kB / 274 MB, free: 4.742 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.005421, allocations: 0 / 274 MB, free: 4.742 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.586e-05/0.005447, allocations: 11.98 kB / 274 MB, free: 4.73 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.005449, allocations: 4 kB / 274 MB, free: 4.727 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.487e-06/0.005453, allocations: 0 / 274 MB, free: 4.727 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.005454, allocations: 8.031 kB / 274 MB, free: 4.719 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.005458, allocations: 3.938 kB / 274 MB, free: 4.715 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.2e-05/0.00554, allocations: 195.6 kB / 274.2 MB, free: 4.5 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.345e-05/0.005563, allocations: 7.953 kB / 274.2 MB, free: 4.492 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.197e-06/0.005573, allocations: 4 kB / 274.2 MB, free: 4.488 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.338e-05/0.005606, allocations: 7.984 kB / 274.2 MB, free: 4.48 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.966e-05/0.005626, allocations: 3.938 kB / 274.2 MB, free: 4.477 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-06/0.005628, allocations: 3.938 kB / 274.2 MB, free: 4.473 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.649e-05/0.005675, allocations: 141.7 kB / 274.3 MB, free: 4.336 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005675, allocations: 0 / 274.3 MB, free: 4.336 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001348/0.005809, allocations: 8.031 kB / 274.4 MB, free: 4.328 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 7.023e-05/0.00588, allocations: 99.23 kB / 274.5 MB, free: 4.223 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.329e-05/0.005943, allocations: 15.69 kB / 274.5 MB, free: 4.203 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.005945, allocations: 0 / 274.5 MB, free: 4.203 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.149e-05/0.005956, allocations: 11.69 kB / 274.5 MB, free: 4.188 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.006179, allocations: 16.23 kB / 274.5 MB, free: 4.168 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/0.006523, allocations: 177.6 kB / 274.7 MB, free: 3.965 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.183e-05/0.006555, allocations: 55.36 kB / 274.7 MB, free: 3.891 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.106e-05/0.006576, allocations: 3.984 kB / 274.7 MB, free: 3.887 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.089e-05/0.006627, allocations: 78.2 kB / 274.8 MB, free: 3.809 MB / 250.7 MB Notification: Performance of SimCode: time 6.71e-07/0.006628, allocations: 0 / 274.8 MB, free: 3.809 MB / 250.7 MB Notification: Performance of Templates: time 0.002007/0.008635, allocations: 0.6234 MB / 275.4 MB, free: 3.199 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6257348940707743]