Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001497/0.001503, allocations: 114.2 kB / 17.07 MB, free: 5.988 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.001745/0.001746, allocations: 194.9 kB / 18.01 MB, free: 5.066 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.557/1.557, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009475/0.0009475, allocations: 47.92 kB / 351.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3781, allocations: 49.43 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.005545/0.3838, allocations: 1.895 MB / 402.6 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002517/0.3863, allocations: 1.068 MB / 403.7 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002235/0.3866, allocations: 3.938 kB / 403.7 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007665/0.3874, allocations: 149.4 kB / 403.8 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004144/0.3878, allocations: 119.5 kB / 403.9 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000795/0.3886, allocations: 201.6 kB / 404.1 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003992/0.389, allocations: 179.6 kB / 404.3 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.3892, allocations: 29.55 kB / 404.3 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.3894, allocations: 87.56 kB / 404.4 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.3896, allocations: 71.62 kB / 404.5 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.468e-05/0.3896, allocations: 12 kB / 404.5 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002048/0.3898, allocations: 51.97 kB / 404.6 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.3899, allocations: 51.77 kB / 404.6 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.39, allocations: 63.55 kB / 404.7 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005223/0.3906, allocations: 204.4 kB / 404.9 MB, free: 4.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/0.3906, allocations: 0 / 404.9 MB, free: 4.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.3906, allocations: 0 / 404.9 MB, free: 4.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.3906, allocations: 0 / 404.9 MB, free: 4.68 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.001136/0.3918, allocations: 0.504 MB / 405.4 MB, free: 4.121 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.3918, allocations: 11.89 kB / 405.4 MB, free: 4.109 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.843e-05/0.3919, allocations: 24.66 kB / 405.4 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004243/0.3923, allocations: 262.8 kB / 405.7 MB, free: 3.789 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.3924, allocations: 12.36 kB / 405.7 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.3924, allocations: 8.125 kB / 405.7 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004249/0.3928, allocations: 153.5 kB / 405.8 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.3929, allocations: 7.938 kB / 405.8 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.3929, allocations: 0 / 405.8 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3929, allocations: 0 / 405.8 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.393, allocations: 35.98 kB / 405.9 MB, free: 3.555 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005936/0.3936, allocations: 362.4 kB / 406.2 MB, free: 3.145 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.3939, allocations: 107.9 kB / 406.3 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.394, allocations: 46.56 kB / 406.4 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-05/0.3941, allocations: 0 / 406.4 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002372/0.3943, allocations: 83.22 kB / 406.5 MB, free: 2.863 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 2.204e-06/0.3943, allocations: 4 kB / 406.5 MB, free: 2.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004477/0.3948, allocations: 137.4 kB / 406.6 MB, free: 2.719 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.3949, allocations: 128.5 kB / 406.7 MB, free: 2.562 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.3952, allocations: 265 kB / 407 MB, free: 2.289 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.3953, allocations: 25.7 kB / 407 MB, free: 2.258 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.999e-05/0.3954, allocations: 124.3 kB / 407.1 MB, free: 2.133 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.3954, allocations: 15.89 kB / 407.2 MB, free: 2.117 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/0.3955, allocations: 33.62 kB / 407.2 MB, free: 2.078 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002787/0.3957, allocations: 330.8 kB / 407.5 MB, free: 1.746 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.455e-05/0.3958, allocations: 23.92 kB / 407.5 MB, free: 1.723 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.3959, allocations: 73.88 kB / 407.6 MB, free: 1.629 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.3961, allocations: 80.25 kB / 407.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3961, allocations: 0 / 407.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002198/0.3963, allocations: 121.5 kB / 407.8 MB, free: 1.41 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.3964, allocations: 4 kB / 407.8 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.3964, allocations: 0 / 407.8 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.3964, allocations: 4 kB / 407.8 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.3965, allocations: 15.92 kB / 407.8 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.3965, allocations: 4 kB / 407.8 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.808e-05/0.3966, allocations: 11.88 kB / 407.8 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.3966, allocations: 4 kB / 407.8 MB, free: 1.367 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.0001552/0.3968, allocations: 150.1 kB / 408 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.741e-05/0.3969, allocations: 69.44 kB / 408.1 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.091e-05/0.397, allocations: 21.7 kB / 408.1 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.397, allocations: 4 kB / 408.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.397, allocations: 0 / 408.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.397, allocations: 3.938 kB / 408.1 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.3972, allocations: 221.6 kB / 408.3 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3972, allocations: 3.938 kB / 408.3 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.464e-05/0.3973, allocations: 4 kB / 408.3 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3973, allocations: 0 / 408.3 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.3973, allocations: 12.05 kB / 408.3 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3973, allocations: 0 / 408.3 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3973, allocations: 0 / 408.3 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.3976, allocations: 154.5 kB / 408.5 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.3977, allocations: 112.8 kB / 408.6 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.3977, allocations: 4 kB / 408.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.222e-05/0.3978, allocations: 4 kB / 408.6 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/0.3978, allocations: 7.984 kB / 408.6 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.3979, allocations: 11.94 kB / 408.6 MB, free: 500 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001961/0.3981, allocations: 192.5 kB / 408.8 MB, free: 308 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3981, allocations: 0 / 408.8 MB, free: 308 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.3983, allocations: 31.89 kB / 408.8 MB, free: 276 kB / 318.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.001136/0.3995, allocations: 427 kB / 409.2 MB, free: 4 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002645/0.3998, allocations: 67.91 kB / 409.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3998, allocations: 0 / 409.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.209e-05/0.3999, allocations: 27.98 kB / 409.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.4003, allocations: 57.3 kB / 409.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00061/0.4009, allocations: 309.5 kB / 409.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.4013, allocations: 0.7279 MB / 410.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.016e-05/0.4014, allocations: 25.47 kB / 410.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.701e-05/0.4015, allocations: 19.44 kB / 410.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4015, allocations: 0 / 410.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of Templates: time 0.006697/0.4082, allocations: 2.426 MB / 412.9 MB, free: 12.34 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches