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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009627/0.0009629, allocations: 96.83 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009639/0.0009639, allocations: 181.1 kB / 17.2 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 223.2 MB / 241.1 MB, free: 5.438 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002541/0.0002544, allocations: 6.438 kB / 300.7 MB, free: 6.402 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09058/0.09085, allocations: 50.42 MB / 351.1 MB, free: 11.88 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.001768/0.09267, allocations: 1.251 MB / 352.4 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006844/0.09337, allocations: 471.2 kB / 352.8 MB, free: 10.15 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.456e-05/0.09345, allocations: 4 kB / 352.8 MB, free: 10.14 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.137e-05/0.0935, allocations: 3.938 kB / 352.9 MB, free: 10.14 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.09361, allocations: 7.922 kB / 352.9 MB, free: 10.13 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.09385, allocations: 47.88 kB / 352.9 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.547e-05/0.09394, allocations: 23.97 kB / 352.9 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.724e-05/0.09405, allocations: 12.22 kB / 352.9 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.479e-05/0.09412, allocations: 23.91 kB / 353 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.364e-05/0.09419, allocations: 23.86 kB / 353 MB, free: 10 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.09421, allocations: 0 / 353 MB, free: 10 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.456e-05/0.09423, allocations: 4 kB / 353 MB, free: 10 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.176e-05/0.09427, allocations: 7.938 kB / 353 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.09444, allocations: 29.7 kB / 353 MB, free: 9.957 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.454e-05/0.09451, allocations: 43.86 kB / 353.1 MB, free: 9.914 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.09452, allocations: 0 / 353.1 MB, free: 9.914 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.09452, allocations: 0 / 353.1 MB, free: 9.914 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.09453, allocations: 0 / 353.1 MB, free: 9.914 MB / 286.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.000439/0.09497, allocations: 371 kB / 353.4 MB, free: 9.504 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.09502, allocations: 8.031 kB / 353.4 MB, free: 9.496 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.09506, allocations: 11.86 kB / 353.5 MB, free: 9.484 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.09525, allocations: 194.8 kB / 353.6 MB, free: 9.254 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.09527, allocations: 0 / 353.6 MB, free: 9.254 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.09529, allocations: 8 kB / 353.7 MB, free: 9.246 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.09555, allocations: 113 kB / 353.8 MB, free: 9.117 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.09557, allocations: 0 / 353.8 MB, free: 9.117 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.09559, allocations: 3.953 kB / 353.8 MB, free: 9.113 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.0956, allocations: 4 kB / 353.8 MB, free: 9.109 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.934e-05/0.09568, allocations: 23.92 kB / 353.8 MB, free: 9.086 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002924/0.09598, allocations: 257.8 kB / 354 MB, free: 8.781 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.585e-05/0.09607, allocations: 49.14 kB / 354.1 MB, free: 8.715 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.09609, allocations: 3.938 kB / 354.1 MB, free: 8.711 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.09613, allocations: 46.58 kB / 354.1 MB, free: 8.656 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.09613, allocations: 0 / 354.1 MB, free: 8.656 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002369/0.09637, allocations: 77.52 kB / 354.2 MB, free: 8.574 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.09642, allocations: 77.36 kB / 354.3 MB, free: 8.48 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.09656, allocations: 140.9 kB / 354.4 MB, free: 8.332 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.09658, allocations: 25.7 kB / 354.5 MB, free: 8.301 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.673e-05/0.09663, allocations: 92.12 kB / 354.5 MB, free: 8.207 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.291e-05/0.09665, allocations: 4 kB / 354.6 MB, free: 8.203 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.09665, allocations: 0 / 354.6 MB, free: 8.203 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.557e-05/0.09676, allocations: 310.8 kB / 354.9 MB, free: 7.891 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.471e-05/0.09681, allocations: 15.98 kB / 354.9 MB, free: 7.875 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.718e-05/0.09686, allocations: 21.72 kB / 354.9 MB, free: 7.848 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.257e-05/0.09691, allocations: 11.98 kB / 354.9 MB, free: 7.836 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.09692, allocations: 0 / 354.9 MB, free: 7.836 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001139/0.09704, allocations: 65.58 kB / 355 MB, free: 7.766 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.09706, allocations: 8.031 kB / 355 MB, free: 7.758 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.09707, allocations: 0 / 355 MB, free: 7.758 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.09708, allocations: 4 kB / 355 MB, free: 7.754 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.489e-05/0.09715, allocations: 7.984 kB / 355 MB, free: 7.746 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.09716, allocations: 0 / 355 MB, free: 7.746 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.713e-05/0.09721, allocations: 4 kB / 355 MB, free: 7.742 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.09722, allocations: 0 / 355 MB, free: 7.742 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.487e-05/0.09731, allocations: 121.8 kB / 355.1 MB, free: 7.613 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.655e-05/0.09737, allocations: 49.56 kB / 355.2 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.94e-05/0.09741, allocations: 7.875 kB / 355.2 MB, free: 7.547 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.09742, allocations: 3.938 kB / 355.2 MB, free: 7.543 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.09742, allocations: 0 / 355.2 MB, free: 7.543 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.09743, allocations: 0 / 355.2 MB, free: 7.543 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.0976, allocations: 169.7 kB / 355.3 MB, free: 7.328 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.0976, allocations: 0 / 355.3 MB, free: 7.328 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.512e-05/0.09765, allocations: 7.984 kB / 355.3 MB, free: 7.32 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.09767, allocations: 7.984 kB / 355.4 MB, free: 7.312 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.09768, allocations: 7.984 kB / 355.4 MB, free: 7.305 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.09769, allocations: 0 / 355.4 MB, free: 7.305 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.09769, allocations: 0 / 355.4 MB, free: 7.305 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.09788, allocations: 178 kB / 355.5 MB, free: 7.105 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.541e-05/0.09796, allocations: 101 kB / 355.6 MB, free: 6.988 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.09798, allocations: 0 / 355.6 MB, free: 6.988 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.872e-05/0.09805, allocations: 8 kB / 355.6 MB, free: 6.98 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.0981, allocations: 0 / 355.6 MB, free: 6.98 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.09811, allocations: 0 / 355.6 MB, free: 6.98 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.819e-05/0.09819, allocations: 115.2 kB / 355.8 MB, free: 6.867 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.0982, allocations: 0 / 355.8 MB, free: 6.867 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002122/0.09841, allocations: 4 kB / 355.8 MB, free: 6.863 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001007/0.09852, allocations: 99.25 kB / 355.9 MB, free: 6.758 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000137/0.09866, allocations: 27.92 kB / 355.9 MB, free: 6.73 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.09867, allocations: 0 / 355.9 MB, free: 6.73 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.185e-05/0.09872, allocations: 11.98 kB / 355.9 MB, free: 6.719 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.09902, allocations: 17.88 kB / 355.9 MB, free: 6.703 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003448/0.09937, allocations: 193.8 kB / 356.1 MB, free: 6.48 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.09967, allocations: 0.6926 MB / 356.8 MB, free: 5.762 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.963e-05/0.09971, allocations: 4 kB / 356.8 MB, free: 5.758 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.09975, allocations: 11.44 kB / 356.8 MB, free: 5.746 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.09975, allocations: 0 / 356.8 MB, free: 5.746 MB / 286.1 MB Notification: Performance of Templates: time 0.002497/0.1023, allocations: 460.1 kB / 357.3 MB, free: 5.301 MB / 286.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (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) 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","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches