Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001224/0.001224, allocations: 118.8 kB / 17.79 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001255/0.001255, allocations: 198 kB / 18.73 MB, free: 4.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 59.89 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3258, allocations: 50.55 MB / 409.2 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003468/0.3293, allocations: 1.89 MB / 411.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002151/0.3315, allocations: 1.297 MB / 412.4 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.3317, allocations: 0 / 412.4 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003889/0.3321, allocations: 75.61 kB / 412.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003692/0.3325, allocations: 135.4 kB / 412.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006524/0.3331, allocations: 230.7 kB / 412.9 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.3334, allocations: 179.5 kB / 413 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.3335, allocations: 29.55 kB / 413.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.3336, allocations: 75.62 kB / 413.1 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.3337, allocations: 79.69 kB / 413.2 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.3338, allocations: 8 kB / 413.2 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.3339, allocations: 67.95 kB / 413.3 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.692e-05/0.334, allocations: 51.83 kB / 413.3 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.624e-05/0.3341, allocations: 83.36 kB / 413.4 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00034/0.3345, allocations: 246.8 kB / 413.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3345, allocations: 0 / 413.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3345, allocations: 0 / 413.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.3345, allocations: 0 / 413.7 MB, free: 13.05 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007092/0.3352, allocations: 0.5503 MB / 414.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.3352, allocations: 8.031 kB / 414.2 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.072e-05/0.3353, allocations: 24.8 kB / 414.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.3357, allocations: 287.8 kB / 414.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.3357, allocations: 4.375 kB / 414.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.3358, allocations: 16.06 kB / 414.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003274/0.3361, allocations: 159.6 kB / 414.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3361, allocations: 3.938 kB / 414.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.3361, allocations: 0 / 414.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.3361, allocations: 4 kB / 414.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.3363, allocations: 35.97 kB / 414.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004881/0.3368, allocations: 394.3 kB / 415.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.337, allocations: 123.9 kB / 415.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.478e-05/0.3371, allocations: 42.56 kB / 415.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.3372, allocations: 0 / 415.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.3373, allocations: 83.31 kB / 415.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.3373, allocations: 0 / 415.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003774/0.3377, allocations: 153.6 kB / 415.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.867e-05/0.3378, allocations: 158.2 kB / 415.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000339/0.3382, allocations: 334.7 kB / 416 MB, free: 10.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.3382, allocations: 33.7 kB / 416 MB, free: 10.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.817e-05/0.3383, allocations: 132 kB / 416.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.3383, allocations: 19.89 kB / 416.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.267e-05/0.3384, allocations: 33.97 kB / 416.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3385, allocations: 334.8 kB / 416.5 MB, free: 9.859 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.048e-05/0.3386, allocations: 31.98 kB / 416.6 MB, free: 9.828 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.3387, allocations: 86.84 kB / 416.7 MB, free: 9.719 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.3389, allocations: 84.22 kB / 416.7 MB, free: 9.621 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3389, allocations: 0 / 416.7 MB, free: 9.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002147/0.3391, allocations: 125.4 kB / 416.9 MB, free: 9.492 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3391, allocations: 4.125 kB / 416.9 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.3391, allocations: 4 kB / 416.9 MB, free: 9.484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.3391, allocations: 4 kB / 416.9 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.3393, allocations: 19.98 kB / 416.9 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.3393, allocations: 7.984 kB / 416.9 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.174e-05/0.3394, allocations: 7.938 kB / 416.9 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.3394, allocations: 7.984 kB / 416.9 MB, free: 9.438 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001346/0.3395, allocations: 165.6 kB / 417.1 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.495e-05/0.3396, allocations: 73.5 kB / 417.1 MB, free: 9.188 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.414e-05/0.3397, allocations: 25.7 kB / 417.2 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3397, allocations: 4 kB / 417.2 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3397, allocations: 0 / 417.2 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.3397, allocations: 3.938 kB / 417.2 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.3399, allocations: 245.6 kB / 417.4 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3399, allocations: 0 / 417.4 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.254e-05/0.34, allocations: 11.98 kB / 417.4 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.34, allocations: 0 / 417.4 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.34, allocations: 8 kB / 417.4 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.34, allocations: 8 kB / 417.4 MB, free: 8.836 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3401, allocations: 4 kB / 417.5 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.3403, allocations: 170.5 kB / 417.6 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.3404, allocations: 112.9 kB / 417.7 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.3405, allocations: 4 kB / 417.7 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.431e-05/0.3405, allocations: 8 kB / 417.7 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/0.3406, allocations: 11.98 kB / 417.8 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.3406, allocations: 7.938 kB / 417.8 MB, free: 8.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002265/0.3409, allocations: 249.9 kB / 418 MB, free: 8.238 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3409, allocations: 0 / 418 MB, free: 8.238 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.3411, allocations: 35.94 kB / 418 MB, free: 8.203 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009968/0.3421, allocations: 418.9 kB / 418.4 MB, free: 7.926 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002265/0.3424, allocations: 71.91 kB / 418.5 MB, free: 7.855 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3424, allocations: 0 / 418.5 MB, free: 7.855 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.711e-05/0.3425, allocations: 27.98 kB / 418.5 MB, free: 7.828 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.3429, allocations: 78.52 kB / 418.6 MB, free: 7.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006416/0.3435, allocations: 372.6 kB / 419 MB, free: 7.355 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.3439, allocations: 0.7475 MB / 419.7 MB, free: 6.582 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.565e-05/0.344, allocations: 21.55 kB / 419.8 MB, free: 6.562 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.33e-05/0.344, allocations: 27.42 kB / 419.8 MB, free: 6.535 MB / 334.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3441, allocations: 0 / 419.8 MB, free: 6.535 MB / 334.1 MB Notification: Performance of Templates: time 0.006734/0.3508, allocations: 2.838 MB / 422.6 MB, free: 3.719 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches