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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001143/0.001143, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001013/0.001013, allocations: 98.62 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009193/0.0009194, allocations: 51.92 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2689, allocations: 50.45 MB / 407 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002777/0.2718, allocations: 1.617 MB / 408.7 MB, free: 26.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009101/0.2727, allocations: 0.5304 MB / 409.2 MB, free: 25.67 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.2728, allocations: 4 kB / 409.2 MB, free: 25.67 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.374e-05/0.2729, allocations: 3.938 kB / 409.2 MB, free: 25.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.2731, allocations: 7.922 kB / 409.2 MB, free: 25.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.2734, allocations: 47.89 kB / 409.3 MB, free: 25.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.2735, allocations: 43.8 kB / 409.3 MB, free: 25.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.2737, allocations: 22.09 kB / 409.3 MB, free: 25.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.2738, allocations: 23.92 kB / 409.3 MB, free: 25.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.772e-05/0.2739, allocations: 19.86 kB / 409.4 MB, free: 25.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.2739, allocations: 4 kB / 409.4 MB, free: 25.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.014e-05/0.274, allocations: 10.94 kB / 409.4 MB, free: 25.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.36e-05/0.2741, allocations: 15.92 kB / 409.4 MB, free: 25.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.273e-05/0.2741, allocations: 23.8 kB / 409.4 MB, free: 25.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.2742, allocations: 51.81 kB / 409.5 MB, free: 25.4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.2743, allocations: 4 kB / 409.5 MB, free: 25.4 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2743, allocations: 0 / 409.5 MB, free: 25.4 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.2743, allocations: 0 / 409.5 MB, free: 25.4 MB / 298.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.0004825/0.2748, allocations: 388.6 kB / 409.9 MB, free: 24.97 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.2748, allocations: 12.53 kB / 409.9 MB, free: 24.96 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.275, allocations: 16.75 kB / 409.9 MB, free: 24.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.2751, allocations: 192.2 kB / 410.1 MB, free: 24.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.733e-06/0.2751, allocations: 384 / 410.1 MB, free: 24.72 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.2752, allocations: 4.375 kB / 410.1 MB, free: 24.71 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.2755, allocations: 109.3 kB / 410.2 MB, free: 24.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2755, allocations: 0 / 410.2 MB, free: 24.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.2755, allocations: 4 kB / 410.2 MB, free: 24.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.2755, allocations: 0 / 410.2 MB, free: 24.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.395e-05/0.2756, allocations: 19.92 kB / 410.2 MB, free: 24.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002691/0.2759, allocations: 273.7 kB / 410.5 MB, free: 24.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.578e-05/0.276, allocations: 49.16 kB / 410.5 MB, free: 24.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.343e-05/0.276, allocations: 17.77 kB / 410.5 MB, free: 24.16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.276, allocations: 0 / 410.5 MB, free: 24.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.2761, allocations: 42.56 kB / 410.6 MB, free: 24.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2761, allocations: 0 / 410.6 MB, free: 24.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002208/0.2763, allocations: 61.61 kB / 410.6 MB, free: 24.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.2764, allocations: 77.11 kB / 410.7 MB, free: 23.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.692e-05/0.2765, allocations: 144.5 kB / 410.9 MB, free: 23.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.2765, allocations: 25.7 kB / 410.9 MB, free: 23.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.317e-05/0.2765, allocations: 92.39 kB / 411 MB, free: 23.67 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.401e-05/0.2765, allocations: 7.906 kB / 411 MB, free: 23.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.2766, allocations: 9.719 kB / 411 MB, free: 23.65 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.58e-05/0.2766, allocations: 322.8 kB / 411.3 MB, free: 23.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.74e-05/0.2767, allocations: 4 kB / 411.3 MB, free: 23.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.676e-05/0.2767, allocations: 25.64 kB / 411.3 MB, free: 23.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.929e-05/0.2768, allocations: 33.7 kB / 411.4 MB, free: 23.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2768, allocations: 0 / 411.4 MB, free: 23.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.54e-05/0.2769, allocations: 61.47 kB / 411.4 MB, free: 23.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.2769, allocations: 8 kB / 411.4 MB, free: 23.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.2769, allocations: 0 / 411.4 MB, free: 23.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.2769, allocations: 0 / 411.4 MB, free: 23.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.439e-05/0.277, allocations: 7.984 kB / 411.4 MB, free: 23.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.277, allocations: 4.062 kB / 411.4 MB, free: 23.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.188e-05/0.2771, allocations: 4 kB / 411.4 MB, free: 23.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.2771, allocations: 0 / 411.4 MB, free: 23.16 MB / 298.7 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 5.995e-05/0.2771, allocations: 127.2 kB / 411.6 MB, free: 23.03 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/0.2772, allocations: 45.55 kB / 411.6 MB, free: 22.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.707e-05/0.2772, allocations: 7.875 kB / 411.6 MB, free: 22.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.2772, allocations: 0 / 411.6 MB, free: 22.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2772, allocations: 0 / 411.6 MB, free: 22.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.2772, allocations: 0 / 411.6 MB, free: 22.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.2774, allocations: 185.5 kB / 411.8 MB, free: 22.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2774, allocations: 0 / 411.8 MB, free: 22.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/0.2774, allocations: 7.984 kB / 411.8 MB, free: 22.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2774, allocations: 0 / 411.8 MB, free: 22.72 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.014e-06/0.2774, allocations: 0 / 411.8 MB, free: 22.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2775, allocations: 4 kB / 411.8 MB, free: 22.72 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2775, allocations: 0 / 411.8 MB, free: 22.72 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.2778, allocations: 0.7208 MB / 412.5 MB, free: 21.94 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.2778, allocations: 89 kB / 412.6 MB, free: 21.83 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.2778, allocations: 3.984 kB / 412.6 MB, free: 21.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.159e-05/0.2779, allocations: 4 kB / 412.6 MB, free: 21.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.2779, allocations: 7.922 kB / 412.6 MB, free: 21.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.2779, allocations: 4 kB / 412.6 MB, free: 21.81 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.915e-05/0.278, allocations: 113.9 kB / 412.8 MB, free: 21.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.278, allocations: 0 / 412.8 MB, free: 21.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003012/0.2783, allocations: 8 kB / 412.8 MB, free: 21.7 MB / 298.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 8.141e-05/0.2784, allocations: 99.23 kB / 412.9 MB, free: 21.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.2785, allocations: 23.92 kB / 412.9 MB, free: 21.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2785, allocations: 0 / 412.9 MB, free: 21.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.424e-05/0.2786, allocations: 8.125 kB / 412.9 MB, free: 21.56 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.279, allocations: 20.02 kB / 412.9 MB, free: 21.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003523/0.2793, allocations: 280 kB / 413.2 MB, free: 21.22 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.2795, allocations: 0.6928 MB / 413.9 MB, free: 20.5 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.833e-05/0.2795, allocations: 0 / 413.9 MB, free: 20.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.244e-05/0.2795, allocations: 15.44 kB / 413.9 MB, free: 20.49 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2795, allocations: 0 / 413.9 MB, free: 20.49 MB / 298.7 MB Notification: Performance of Templates: time 0.002312/0.2819, allocations: 489.7 kB / 414.4 MB, free: 20.02 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches