Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.001339, allocations: 104.3 kB / 17.73 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.001312/0.001312, allocations: 191 kB / 18.67 MB, free: 4.441 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.377/1.377, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 47.92 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2755, allocations: 49.43 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003269/0.2789, allocations: 1.873 MB / 403.3 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.2807, allocations: 1.161 MB / 404.4 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.2809, allocations: 4 kB / 404.4 MB, free: 5.797 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003011/0.2812, allocations: 63.66 kB / 404.5 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002417/0.2815, allocations: 95.58 kB / 404.6 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007215/0.2822, allocations: 256.3 kB / 404.8 MB, free: 5.395 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002476/0.2825, allocations: 171.5 kB / 405 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.2826, allocations: 33.53 kB / 405 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.2827, allocations: 79.62 kB / 405.1 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.2828, allocations: 75.69 kB / 405.2 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.2829, allocations: 8 kB / 405.2 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.283, allocations: 59.95 kB / 405.3 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.535e-05/0.2831, allocations: 51.83 kB / 405.3 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.925e-05/0.2832, allocations: 79.42 kB / 405.4 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003318/0.2836, allocations: 236.3 kB / 405.6 MB, free: 4.621 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2836, allocations: 4 kB / 405.6 MB, free: 4.617 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.2836, allocations: 4 kB / 405.6 MB, free: 4.613 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.2836, allocations: 0 / 405.6 MB, free: 4.613 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007162/0.2843, allocations: 0.5223 MB / 406.1 MB, free: 4.039 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.2844, allocations: 11.89 kB / 406.2 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.478e-05/0.2844, allocations: 32.59 kB / 406.2 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.2848, allocations: 291.5 kB / 406.5 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.2848, allocations: 16.31 kB / 406.5 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.2849, allocations: 8.125 kB / 406.5 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003269/0.2852, allocations: 151.6 kB / 406.6 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.2852, allocations: 0 / 406.6 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.2852, allocations: 4 kB / 406.6 MB, free: 3.469 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.2852, allocations: 3.938 kB / 406.6 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.2854, allocations: 35.98 kB / 406.7 MB, free: 3.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004947/0.2859, allocations: 374.4 kB / 407 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.2861, allocations: 123.9 kB / 407.2 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.2862, allocations: 46.56 kB / 407.2 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.2863, allocations: 4 kB / 407.2 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.2864, allocations: 83.31 kB / 407.3 MB, free: 2.707 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.2864, allocations: 0 / 407.3 MB, free: 2.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.000382/0.2868, allocations: 149.3 kB / 407.4 MB, free: 2.555 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.707e-05/0.2869, allocations: 166.2 kB / 407.6 MB, free: 2.355 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003165/0.2873, allocations: 322.9 kB / 407.9 MB, free: 2.031 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.2873, allocations: 33.7 kB / 408 MB, free: 1.992 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.38e-05/0.2874, allocations: 124 kB / 408.1 MB, free: 1.867 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.2874, allocations: 23.81 kB / 408.1 MB, free: 1.844 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/0.2875, allocations: 29.7 kB / 408.1 MB, free: 1.809 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.2876, allocations: 338.8 kB / 408.5 MB, free: 1.469 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.702e-05/0.2877, allocations: 23.92 kB / 408.5 MB, free: 1.445 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.2878, allocations: 94.73 kB / 408.6 MB, free: 1.328 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.288, allocations: 84.22 kB / 408.7 MB, free: 1.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.288, allocations: 4 kB / 408.7 MB, free: 1.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002284/0.2882, allocations: 129.3 kB / 408.8 MB, free: 1.094 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2882, allocations: 4 kB / 408.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2882, allocations: 0 / 408.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.2883, allocations: 4 kB / 408.8 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.2884, allocations: 15.98 kB / 408.8 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.2884, allocations: 4 kB / 408.8 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.803e-05/0.2885, allocations: 11.84 kB / 408.8 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.2885, allocations: 12.12 kB / 408.8 MB, free: 1.043 MB / 318.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.0001488/0.2886, allocations: 158.1 kB / 409 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.754e-05/0.2887, allocations: 61.42 kB / 409.1 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.972e-05/0.2888, allocations: 25.7 kB / 409.1 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.2888, allocations: 4 kB / 409.1 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.2888, allocations: 4 kB / 409.1 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.2888, allocations: 3.938 kB / 409.1 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.289, allocations: 241.5 kB / 409.3 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.289, allocations: 4.062 kB / 409.3 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.948e-05/0.2891, allocations: 15.94 kB / 409.3 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2891, allocations: 3.938 kB / 409.4 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.2891, allocations: 0 / 409.4 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.2891, allocations: 7.984 kB / 409.4 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2891, allocations: 3.984 kB / 409.4 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.2894, allocations: 174.5 kB / 409.5 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.571e-05/0.2895, allocations: 108.9 kB / 409.6 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.2895, allocations: 0 / 409.6 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.648e-05/0.2896, allocations: 11.98 kB / 409.7 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.2897, allocations: 4 kB / 409.7 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.2897, allocations: 11.92 kB / 409.7 MB, free: 108 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002333/0.2899, allocations: 245.9 kB / 409.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2899, allocations: 0 / 409.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.2902, allocations: 32 kB / 409.9 MB, free: 15.83 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.0009307/0.2911, allocations: 432.8 kB / 410.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002233/0.2914, allocations: 67.91 kB / 410.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2914, allocations: 4 kB / 410.4 MB, free: 15.49 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.297e-05/0.2914, allocations: 27.98 kB / 410.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.2918, allocations: 58.14 kB / 410.5 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005938/0.2924, allocations: 414.1 kB / 410.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.2928, allocations: 0.7358 MB / 411.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/0.2928, allocations: 19.44 kB / 411.7 MB, free: 14.19 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2928, allocations: 0 / 411.7 MB, free: 14.19 MB / 334.1 MB Notification: Performance of Templates: time 0.005121/0.2979, allocations: 2.926 MB / 414.6 MB, free: 11.27 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches