Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.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.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009791/0.0009792, allocations: 93.33 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001285/0.001285, allocations: 201.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.7 MB / 247.5 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002255/0.0002251, allocations: 8 kB / 308.4 MB, free: 0.8242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08807/0.08831, allocations: 51.52 MB / 359.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.002415/0.09076, allocations: 1.708 MB / 361.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.09276, allocations: 1.208 MB / 362.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.09293, allocations: 7.938 kB / 362.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005531/0.09349, allocations: 143.6 kB / 363 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003777/0.09388, allocations: 135.6 kB / 363.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006055/0.0945, allocations: 191 kB / 363.3 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002967/0.0948, allocations: 227.4 kB / 363.5 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.09495, allocations: 44.28 kB / 363.6 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.0951, allocations: 75.62 kB / 363.6 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.09525, allocations: 91.48 kB / 363.7 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.09529, allocations: 8 kB / 363.7 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.09544, allocations: 47.97 kB / 363.8 MB, free: 9.422 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.28e-05/0.09554, allocations: 47.83 kB / 363.8 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.09566, allocations: 109.1 kB / 363.9 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.09591, allocations: 183.8 kB / 364.1 MB, free: 9.082 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.09593, allocations: 0 / 364.1 MB, free: 9.082 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.09594, allocations: 4 kB / 364.1 MB, free: 9.078 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.09595, allocations: 0 / 364.1 MB, free: 9.078 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0008019/0.09676, allocations: 0.5197 MB / 364.6 MB, free: 8.504 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.0968, allocations: 8.031 kB / 364.6 MB, free: 8.496 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.845e-05/0.09689, allocations: 24.66 kB / 364.7 MB, free: 8.473 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003786/0.09727, allocations: 282.7 kB / 364.9 MB, free: 8.152 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.09731, allocations: 8.375 kB / 364.9 MB, free: 8.145 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.09734, allocations: 16.12 kB / 365 MB, free: 8.129 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005443/0.09789, allocations: 297.6 kB / 365.3 MB, free: 7.816 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.09791, allocations: 0 / 365.3 MB, free: 7.816 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.09794, allocations: 4 kB / 365.3 MB, free: 7.812 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.09795, allocations: 11.98 kB / 365.3 MB, free: 7.801 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.09812, allocations: 59.91 kB / 365.3 MB, free: 7.742 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005217/0.09865, allocations: 390.2 kB / 365.7 MB, free: 7.305 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.09898, allocations: 176 kB / 365.9 MB, free: 7.105 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.09913, allocations: 82.55 kB / 366 MB, free: 7.016 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/0.09917, allocations: 8 kB / 366 MB, free: 7.008 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.09934, allocations: 79.23 kB / 366 MB, free: 6.918 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 2.014e-06/0.09935, allocations: 0 / 366 MB, free: 6.918 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005149/0.09987, allocations: 233.3 kB / 366.3 MB, free: 6.684 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.327e-05/0.09998, allocations: 148.4 kB / 366.4 MB, free: 6.508 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.1003, allocations: 280.8 kB / 366.7 MB, free: 6.227 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.1003, allocations: 37.7 kB / 366.7 MB, free: 6.184 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.128e-05/0.1004, allocations: 116.7 kB / 366.8 MB, free: 6.062 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.1004, allocations: 31.62 kB / 366.9 MB, free: 6.031 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.1005, allocations: 33.7 kB / 366.9 MB, free: 5.992 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1006, allocations: 334.8 kB / 367.2 MB, free: 5.656 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.617e-05/0.1007, allocations: 40.44 kB / 367.3 MB, free: 5.617 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.1009, allocations: 166 kB / 367.4 MB, free: 5.395 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002401/0.1011, allocations: 203.2 kB / 367.6 MB, free: 5.141 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.1011, allocations: 4 kB / 367.6 MB, free: 5.137 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003631/0.1015, allocations: 221.5 kB / 367.9 MB, free: 4.914 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.1015, allocations: 8 kB / 367.9 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.1015, allocations: 8.031 kB / 367.9 MB, free: 4.898 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1016, allocations: 4 kB / 367.9 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.629e-05/0.1017, allocations: 23.92 kB / 367.9 MB, free: 4.871 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.1017, allocations: 4 kB / 367.9 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.1018, allocations: 19.84 kB / 367.9 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.1018, allocations: 16.31 kB / 367.9 MB, free: 4.832 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition1,table1.combiTimeTable.nextTimeEventScaled,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.y,and1.y,and1.u2,and1.u1,upSample2.u_super,$CLKPRE.upSample2.b_super,upSample2.b_super,upSample2.y,upSample1.u_super,$CLKPRE.upSample1.b_super,upSample1.b_super,upSample1.y,$CLKPRE.upSample2.b,upSample2.b,upSample2.dummy,upSample2.u,$CLKPRE.upSample1.b,upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0001572/0.102, allocations: 167.9 kB / 368.1 MB, free: 4.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.1022, allocations: 137.2 kB / 368.2 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.611e-05/0.1023, allocations: 29.7 kB / 368.3 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.1023, allocations: 4 kB / 368.3 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.1023, allocations: 0 / 368.3 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.1023, allocations: 7.938 kB / 368.3 MB, free: 4.477 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.1025, allocations: 246 kB / 368.5 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1025, allocations: 4 kB / 368.5 MB, free: 4.184 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.004e-05/0.1026, allocations: 7.984 kB / 368.5 MB, free: 4.176 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.1026, allocations: 4 kB / 368.5 MB, free: 4.172 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.1026, allocations: 4.312 kB / 368.5 MB, free: 4.168 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1026, allocations: 11.94 kB / 368.5 MB, free: 4.156 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.1026, allocations: 4 kB / 368.6 MB, free: 4.152 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003311/0.103, allocations: 229.3 kB / 368.8 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.1031, allocations: 120.7 kB / 368.9 MB, free: 3.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.654e-05/0.1031, allocations: 11.98 kB / 368.9 MB, free: 3.758 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.905e-05/0.1032, allocations: 12 kB / 368.9 MB, free: 3.746 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.1033, allocations: 7.984 kB / 368.9 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.1033, allocations: 11.94 kB / 368.9 MB, free: 3.727 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002012/0.1035, allocations: 204.5 kB / 369.1 MB, free: 3.527 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1035, allocations: 0 / 369.1 MB, free: 3.527 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003259/0.1038, allocations: 43.94 kB / 369.2 MB, free: 3.484 MB / 302.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: 20 ($whenCondition1,table1.y,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,and1.u1,and1.u2,and1.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent) * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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.0009918/0.1048, allocations: 433.6 kB / 369.6 MB, free: 3.191 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002982/0.1051, allocations: 131.8 kB / 369.7 MB, free: 3.062 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1051, allocations: 0 / 369.7 MB, free: 3.062 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.933e-05/0.1052, allocations: 31.92 kB / 369.8 MB, free: 3.031 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004908/0.1057, allocations: 112.2 kB / 369.9 MB, free: 2.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007081/0.1064, allocations: 498.3 kB / 370.4 MB, free: 2.398 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.1068, allocations: 0.7521 MB / 371.1 MB, free: 1.621 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.885e-05/0.1068, allocations: 27.42 kB / 371.1 MB, free: 1.594 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1068, allocations: 0 / 371.1 MB, free: 1.594 MB / 302.1 MB Notification: Performance of Templates: time 0.1607/0.2675, allocations: 3.233 MB / 374.4 MB, free: 17.9 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches