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.0013/0.0013, allocations: 106.1 kB / 17.05 MB, free: 6.09 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.001361/0.001361, allocations: 192 kB / 18 MB, free: 5.184 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.39/1.39, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001006, allocations: 47.92 kB / 351.3 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3198, allocations: 49.44 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002994/0.3228, allocations: 1.553 MB / 402.3 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009508/0.3238, allocations: 0.4908 MB / 402.7 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.3239, allocations: 3.938 kB / 402.7 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.896e-05/0.324, allocations: 3.938 kB / 402.7 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001625/0.3242, allocations: 11.92 kB / 402.8 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.3245, allocations: 50.83 kB / 402.8 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000121/0.3246, allocations: 55.78 kB / 402.9 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.3247, allocations: 15.92 kB / 402.9 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.914e-05/0.3248, allocations: 19.92 kB / 402.9 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.353e-05/0.3249, allocations: 27.8 kB / 402.9 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.3249, allocations: 4 kB / 402.9 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.3249, allocations: 0 / 402.9 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.158e-05/0.325, allocations: 11.98 kB / 402.9 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.035e-05/0.325, allocations: 35.8 kB / 403 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.3252, allocations: 51.55 kB / 403 MB, free: 6.543 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3252, allocations: 0 / 403 MB, free: 6.543 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3252, allocations: 0 / 403 MB, free: 6.543 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.3252, allocations: 4 kB / 403 MB, free: 6.539 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.0005389/0.3258, allocations: 375.1 kB / 403.4 MB, free: 6.125 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.3258, allocations: 11.89 kB / 403.4 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.3259, allocations: 8.891 kB / 403.4 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.3261, allocations: 204.1 kB / 403.6 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.3261, allocations: 4.375 kB / 403.6 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.3262, allocations: 8.312 kB / 403.6 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.3264, allocations: 105.3 kB / 403.7 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.3265, allocations: 0 / 403.7 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.3265, allocations: 8 kB / 403.7 MB, free: 5.727 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3265, allocations: 0 / 403.7 MB, free: 5.727 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.228e-05/0.3266, allocations: 15.98 kB / 403.8 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003572/0.3269, allocations: 265.7 kB / 404 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.417e-05/0.327, allocations: 45.16 kB / 404.1 MB, free: 5.336 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.019e-05/0.3271, allocations: 21.77 kB / 404.1 MB, free: 5.309 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.3271, allocations: 7.984 kB / 404.1 MB, free: 5.301 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.3272, allocations: 34.5 kB / 404.1 MB, free: 5.258 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3272, allocations: 0 / 404.1 MB, free: 5.258 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002523/0.3274, allocations: 65.89 kB / 404.2 MB, free: 5.188 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.3275, allocations: 85.05 kB / 404.3 MB, free: 5.086 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.3276, allocations: 138.1 kB / 404.4 MB, free: 4.938 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.3276, allocations: 29.69 kB / 404.4 MB, free: 4.902 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/0.3277, allocations: 88.14 kB / 404.5 MB, free: 4.812 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.276e-05/0.3277, allocations: 0 / 404.5 MB, free: 4.812 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.3278, allocations: 21.67 kB / 404.5 MB, free: 4.785 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3279, allocations: 314.9 kB / 404.8 MB, free: 4.469 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.168e-05/0.3279, allocations: 12 kB / 404.9 MB, free: 4.457 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.655e-05/0.328, allocations: 21.7 kB / 404.9 MB, free: 4.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.75e-05/0.3281, allocations: 33.64 kB / 404.9 MB, free: 4.391 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3281, allocations: 3.938 kB / 404.9 MB, free: 4.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001082/0.3282, allocations: 53.75 kB / 405 MB, free: 4.328 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.3282, allocations: 4 kB / 405 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3282, allocations: 3.938 kB / 405 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3282, allocations: 0 / 405 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.104e-05/0.3283, allocations: 15.92 kB / 405 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3283, allocations: 0 / 405 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.733e-05/0.3284, allocations: 0 / 405 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.3284, allocations: 7.938 kB / 405 MB, free: 4.297 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 8.265e-05/0.3285, allocations: 125.8 kB / 405.1 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.698e-05/0.3286, allocations: 41.64 kB / 405.2 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.048e-05/0.3286, allocations: 7.875 kB / 405.2 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.3286, allocations: 0 / 405.2 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3286, allocations: 8 kB / 405.2 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3286, allocations: 0 / 405.2 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.3288, allocations: 173.6 kB / 405.4 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3288, allocations: 0 / 405.4 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.424e-05/0.3288, allocations: 11.98 kB / 405.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.3289, allocations: 0 / 405.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.3289, allocations: 4.031 kB / 405.4 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3289, allocations: 0 / 405.4 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3289, allocations: 0 / 405.4 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.329, allocations: 164.2 kB / 405.5 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.047e-05/0.3291, allocations: 96.98 kB / 405.6 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.3291, allocations: 0 / 405.6 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.476e-05/0.3292, allocations: 8.031 kB / 405.6 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.3293, allocations: 0 / 405.6 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.3293, allocations: 0 / 405.6 MB, free: 3.562 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.669e-05/0.3293, allocations: 114 kB / 405.7 MB, free: 3.453 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3293, allocations: 0 / 405.7 MB, free: 3.453 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002143/0.3296, allocations: 4 kB / 405.7 MB, free: 3.449 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 0.0001056/0.3297, allocations: 104 kB / 405.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.3298, allocations: 23.92 kB / 405.9 MB, free: 3.316 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3298, allocations: 0 / 405.9 MB, free: 3.316 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.033e-05/0.3299, allocations: 15.98 kB / 405.9 MB, free: 3.301 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.3302, allocations: 15.97 kB / 405.9 MB, free: 3.285 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003453/0.3306, allocations: 159.4 kB / 406.1 MB, free: 3.102 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.3309, allocations: 0.6964 MB / 406.8 MB, free: 2.379 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.129e-05/0.3309, allocations: 0 / 406.8 MB, free: 2.379 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/0.3309, allocations: 15.42 kB / 406.8 MB, free: 2.363 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.331, allocations: 7.875 kB / 406.8 MB, free: 2.355 MB / 318.1 MB Notification: Performance of Templates: time 0.002846/0.3338, allocations: 0.5208 MB / 407.3 MB, free: 1.84 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/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) Reference file matches