Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000934/0.0009341, allocations: 95.25 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.001059/0.001059, allocations: 207.7 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.7 MB / 247.5 MB, free: 11.11 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002166/0.0002166, allocations: 4 kB / 308.4 MB, free: 0.7891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08998/0.09021, allocations: 51.54 MB / 359.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.00246/0.09271, allocations: 1.595 MB / 361.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002132/0.09487, allocations: 1.181 MB / 362.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.09506, allocations: 3.938 kB / 362.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006465/0.09571, allocations: 135.7 kB / 362.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000462/0.09619, allocations: 143.5 kB / 363 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005442/0.09674, allocations: 155.1 kB / 363.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000344/0.0971, allocations: 187.4 kB / 363.3 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.09726, allocations: 37.53 kB / 363.3 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.09743, allocations: 63.66 kB / 363.4 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.09759, allocations: 63.69 kB / 363.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.09763, allocations: 4 kB / 363.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.09779, allocations: 51.91 kB / 363.5 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.191e-05/0.09788, allocations: 39.84 kB / 363.6 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.707e-05/0.09799, allocations: 89.19 kB / 363.7 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.09822, allocations: 155.9 kB / 363.8 MB, free: 9.352 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.09823, allocations: 0 / 363.8 MB, free: 9.352 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.09824, allocations: 0 / 363.8 MB, free: 9.352 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.09825, allocations: 0 / 363.8 MB, free: 9.352 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006999/0.09896, allocations: 496.2 kB / 364.3 MB, free: 8.812 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.09901, allocations: 12.03 kB / 364.3 MB, free: 8.801 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.314e-05/0.09908, allocations: 24.66 kB / 364.3 MB, free: 8.777 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003165/0.0994, allocations: 262.8 kB / 364.6 MB, free: 8.477 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.09943, allocations: 4.375 kB / 364.6 MB, free: 8.473 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.09946, allocations: 16.11 kB / 364.6 MB, free: 8.457 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003553/0.09982, allocations: 146.7 kB / 364.7 MB, free: 8.289 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.09984, allocations: 0 / 364.7 MB, free: 8.289 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.09986, allocations: 3.938 kB / 364.7 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.09987, allocations: 4 kB / 364.8 MB, free: 8.281 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.661e-05/0.09997, allocations: 31.92 kB / 364.8 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005268/0.1005, allocations: 374.3 kB / 365.1 MB, free: 7.828 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.1007, allocations: 103.9 kB / 365.2 MB, free: 7.699 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.557e-05/0.1008, allocations: 50.56 kB / 365.3 MB, free: 7.641 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.1009, allocations: 3.938 kB / 365.3 MB, free: 7.637 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.101, allocations: 71.33 kB / 365.4 MB, free: 7.555 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.744e-06/0.101, allocations: 4 kB / 365.4 MB, free: 7.551 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003503/0.1014, allocations: 137.6 kB / 365.5 MB, free: 7.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.457e-05/0.1015, allocations: 136.6 kB / 365.6 MB, free: 7.246 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002886/0.1018, allocations: 276.9 kB / 365.9 MB, free: 6.969 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.1018, allocations: 29.7 kB / 365.9 MB, free: 6.934 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.083e-05/0.1019, allocations: 116.1 kB / 366.1 MB, free: 6.816 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.1019, allocations: 15.75 kB / 366.1 MB, free: 6.801 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.102, allocations: 21.7 kB / 366.1 MB, free: 6.773 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1021, allocations: 330.8 kB / 366.4 MB, free: 6.441 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.981e-05/0.1022, allocations: 23.98 kB / 366.4 MB, free: 6.418 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.206e-05/0.1023, allocations: 73.94 kB / 366.5 MB, free: 6.324 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.1024, allocations: 76.25 kB / 366.6 MB, free: 6.234 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1024, allocations: 0 / 366.6 MB, free: 6.234 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002056/0.1026, allocations: 121.6 kB / 366.7 MB, free: 6.109 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1026, allocations: 4 kB / 366.7 MB, free: 6.105 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.1027, allocations: 0 / 366.7 MB, free: 6.105 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1027, allocations: 4 kB / 366.7 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.991e-05/0.1028, allocations: 12.11 kB / 366.7 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.1028, allocations: 8 kB / 366.7 MB, free: 6.082 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.224e-05/0.1029, allocations: 7.938 kB / 366.7 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.1029, allocations: 8 kB / 366.7 MB, free: 6.066 MB / 302.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.0001384/0.103, allocations: 149.7 kB / 366.9 MB, free: 5.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.011e-05/0.1031, allocations: 65.41 kB / 367 MB, free: 5.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.734e-05/0.1032, allocations: 17.72 kB / 367 MB, free: 5.824 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1032, allocations: 3.984 kB / 367 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1032, allocations: 8.062 kB / 367 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.1032, allocations: 3.938 kB / 367 MB, free: 5.809 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.1034, allocations: 225.5 kB / 367.2 MB, free: 5.539 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1034, allocations: 3.938 kB / 367.2 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.882e-05/0.1034, allocations: 15.92 kB / 367.2 MB, free: 5.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.1034, allocations: 0 / 367.2 MB, free: 5.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1034, allocations: 0 / 367.2 MB, free: 5.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1035, allocations: 4 kB / 367.2 MB, free: 5.516 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1035, allocations: 0 / 367.2 MB, free: 5.516 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.1037, allocations: 162.4 kB / 367.4 MB, free: 5.332 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.66e-05/0.1038, allocations: 112.9 kB / 367.5 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.1038, allocations: 0 / 367.5 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.283e-05/0.1039, allocations: 7.984 kB / 367.5 MB, free: 5.195 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.104, allocations: 8 kB / 367.5 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.104, allocations: 7.938 kB / 367.5 MB, free: 5.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000239/0.1042, allocations: 208.5 kB / 367.7 MB, free: 4.973 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1042, allocations: 0 / 367.7 MB, free: 4.973 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000256/0.1045, allocations: 27.98 kB / 367.8 MB, free: 4.945 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: 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.0009465/0.1055, allocations: 413.7 kB / 368.2 MB, free: 4.672 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.1057, allocations: 71.84 kB / 368.2 MB, free: 4.602 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1057, allocations: 4.188 kB / 368.2 MB, free: 4.598 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.714e-05/0.1057, allocations: 31.98 kB / 368.3 MB, free: 4.566 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.1061, allocations: 53.47 kB / 368.3 MB, free: 4.516 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005809/0.1067, allocations: 393.7 kB / 368.7 MB, free: 4.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.1071, allocations: 0.7322 MB / 369.4 MB, free: 3.332 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.445e-05/0.1071, allocations: 19.44 kB / 369.5 MB, free: 3.312 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1071, allocations: 0 / 369.5 MB, free: 3.312 MB / 302.1 MB Notification: Performance of Templates: time 0.00482/0.1119, allocations: 2.612 MB / 372.1 MB, free: 0.7148 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches