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.001347/0.001347, allocations: 107.9 kB / 17.74 MB, free: 5.363 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.001163/0.001163, allocations: 179.1 kB / 18.66 MB, free: 4.445 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.37/1.37, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009678/0.0009678, allocations: 51.92 kB / 352 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.255, allocations: 49.44 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002726/0.2578, allocations: 1.548 MB / 402.9 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000861/0.2587, allocations: 0.4947 MB / 403.4 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.579e-05/0.2588, allocations: 0 / 403.4 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.917e-05/0.2588, allocations: 7.938 kB / 403.4 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.259, allocations: 11.86 kB / 403.5 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.2592, allocations: 51.83 kB / 403.5 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.2594, allocations: 47.84 kB / 403.5 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.2595, allocations: 15.98 kB / 403.6 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.574e-05/0.2595, allocations: 19.88 kB / 403.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.882e-05/0.2596, allocations: 19.86 kB / 403.6 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.2596, allocations: 4 kB / 403.6 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.29e-05/0.2596, allocations: 0 / 403.6 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.702e-05/0.2597, allocations: 15.97 kB / 403.6 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.712e-05/0.2598, allocations: 31.81 kB / 403.7 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.2599, allocations: 59.67 kB / 403.7 MB, free: 6.547 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2599, allocations: 0 / 403.7 MB, free: 6.547 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2599, allocations: 4 kB / 403.7 MB, free: 6.543 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.431e-06/0.2599, allocations: 0 / 403.7 MB, free: 6.543 MB / 318.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.0005319/0.2605, allocations: 371.4 kB / 404.1 MB, free: 6.141 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.2605, allocations: 12.02 kB / 404.1 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.2605, allocations: 12.84 kB / 404.1 MB, free: 6.117 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.2608, allocations: 207.9 kB / 404.3 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.2608, allocations: 8.375 kB / 404.3 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.2608, allocations: 384 / 404.3 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/0.2611, allocations: 105.3 kB / 404.4 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2611, allocations: 4 kB / 404.4 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.2612, allocations: 4 kB / 404.4 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.2612, allocations: 3.984 kB / 404.4 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.679e-05/0.2612, allocations: 15.98 kB / 404.4 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002926/0.2615, allocations: 261.7 kB / 404.7 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.2617, allocations: 49.2 kB / 404.7 MB, free: 5.344 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.082e-05/0.2617, allocations: 21.72 kB / 404.8 MB, free: 5.316 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.2618, allocations: 3.984 kB / 404.8 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.2618, allocations: 30.56 kB / 404.8 MB, free: 5.273 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2618, allocations: 0 / 404.8 MB, free: 5.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.000242/0.262, allocations: 77.61 kB / 404.9 MB, free: 5.191 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.2621, allocations: 77.11 kB / 405 MB, free: 5.098 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.2622, allocations: 134.2 kB / 405.1 MB, free: 4.953 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.2622, allocations: 25.7 kB / 405.1 MB, free: 4.922 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/0.2623, allocations: 88.14 kB / 405.2 MB, free: 4.832 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.2623, allocations: 7.891 kB / 405.2 MB, free: 4.824 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.2624, allocations: 17.72 kB / 405.2 MB, free: 4.801 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.2625, allocations: 319 kB / 405.5 MB, free: 4.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.09e-05/0.2625, allocations: 7.984 kB / 405.5 MB, free: 4.473 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.993e-05/0.2626, allocations: 17.72 kB / 405.6 MB, free: 4.449 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.244e-05/0.2627, allocations: 37.58 kB / 405.6 MB, free: 4.406 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2627, allocations: 0 / 405.6 MB, free: 4.406 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001197/0.2628, allocations: 61.67 kB / 405.7 MB, free: 4.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.2628, allocations: 4 kB / 405.7 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2628, allocations: 0 / 405.7 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.2629, allocations: 4 kB / 405.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.134e-05/0.2629, allocations: 11.94 kB / 405.7 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.263, allocations: 0 / 405.7 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.439e-05/0.263, allocations: 0 / 405.7 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.263, allocations: 7.984 kB / 405.7 MB, free: 4.312 MB / 318.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.184e-05/0.2631, allocations: 125.8 kB / 405.8 MB, free: 4.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.667e-05/0.2632, allocations: 41.55 kB / 405.8 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.103e-05/0.2632, allocations: 11.86 kB / 405.9 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.2632, allocations: 4 kB / 405.9 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2632, allocations: 0 / 405.9 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2632, allocations: 0 / 405.9 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.2634, allocations: 177.5 kB / 406 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2634, allocations: 0 / 406 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.413e-05/0.2635, allocations: 11.94 kB / 406 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2635, allocations: 4.031 kB / 406.1 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.2635, allocations: 3.984 kB / 406.1 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2635, allocations: 0 / 406.1 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2635, allocations: 0 / 406.1 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.2637, allocations: 160.2 kB / 406.2 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.654e-05/0.2637, allocations: 89 kB / 406.3 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.2638, allocations: 4.031 kB / 406.3 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.694e-05/0.2638, allocations: 4 kB / 406.3 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.2639, allocations: 3.984 kB / 406.3 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.2639, allocations: 4 kB / 406.3 MB, free: 3.574 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.564e-05/0.264, allocations: 109.8 kB / 406.4 MB, free: 3.469 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.264, allocations: 3.938 kB / 406.4 MB, free: 3.465 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002217/0.2642, allocations: 4 kB / 406.4 MB, free: 3.461 MB / 318.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 9.626e-05/0.2643, allocations: 104 kB / 406.5 MB, free: 3.352 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001356/0.2644, allocations: 23.98 kB / 406.6 MB, free: 3.328 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2645, allocations: 0 / 406.6 MB, free: 3.328 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.643e-05/0.2645, allocations: 8 kB / 406.6 MB, free: 3.32 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.2648, allocations: 23.89 kB / 406.6 MB, free: 3.297 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003158/0.2652, allocations: 177.6 kB / 406.8 MB, free: 3.09 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.2654, allocations: 0.7 MB / 407.5 MB, free: 2.363 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.066e-05/0.2655, allocations: 11.44 kB / 407.5 MB, free: 2.352 MB / 318.1 MB Notification: Performance of SimCode: time 2.024e-06/0.2655, allocations: 0 / 407.5 MB, free: 2.352 MB / 318.1 MB Notification: Performance of Templates: time 0.002039/0.2675, allocations: 0.7239 MB / 408.2 MB, free: 1.633 MB / 318.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches