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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001868/0.001868, allocations: 207.3 kB / 17.99 MB, free: 3.773 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001005/0.001005, allocations: 97.59 kB / 296.7 MB, free: 6.492 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 51.92 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2664, allocations: 50.45 MB / 407 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.002891/0.2693, allocations: 1.967 MB / 409 MB, free: 25.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.2709, allocations: 1.207 MB / 410.2 MB, free: 24.65 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.824e-05/0.271, allocations: 8 kB / 410.2 MB, free: 24.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005148/0.2715, allocations: 151.6 kB / 410.4 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.2718, allocations: 131.6 kB / 410.5 MB, free: 24.37 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004021/0.2722, allocations: 188.7 kB / 410.7 MB, free: 24.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00016/0.2724, allocations: 191.4 kB / 410.9 MB, free: 24 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.67e-05/0.2725, allocations: 33.53 kB / 410.9 MB, free: 23.97 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.454e-05/0.2726, allocations: 63.72 kB / 411 MB, free: 23.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.182e-05/0.2726, allocations: 71.62 kB / 411 MB, free: 23.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.2727, allocations: 4 kB / 411 MB, free: 23.83 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-05/0.2728, allocations: 55.89 kB / 411.1 MB, free: 23.78 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.577e-05/0.2728, allocations: 35.91 kB / 411.1 MB, free: 23.74 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.866e-05/0.2729, allocations: 71.42 kB / 411.2 MB, free: 23.67 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.2731, allocations: 204.9 kB / 411.4 MB, free: 23.47 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.2731, allocations: 0 / 411.4 MB, free: 23.47 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.2731, allocations: 0 / 411.4 MB, free: 23.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.2731, allocations: 0 / 411.4 MB, free: 23.47 MB / 298.7 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.0005343/0.2737, allocations: 0.5157 MB / 411.9 MB, free: 22.9 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.2737, allocations: 8.875 kB / 411.9 MB, free: 22.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/0.2737, allocations: 24.66 kB / 412 MB, free: 22.87 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.274, allocations: 266.7 kB / 412.2 MB, free: 22.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.274, allocations: 8.375 kB / 412.2 MB, free: 22.56 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.274, allocations: 12.12 kB / 412.2 MB, free: 22.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.2743, allocations: 146.7 kB / 412.4 MB, free: 22.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.2743, allocations: 0 / 412.4 MB, free: 22.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.2743, allocations: 0 / 412.4 MB, free: 22.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.2743, allocations: 0 / 412.4 MB, free: 22.38 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.076e-05/0.2744, allocations: 43.92 kB / 412.4 MB, free: 22.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.2748, allocations: 354.4 kB / 412.8 MB, free: 21.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.275, allocations: 127.8 kB / 412.9 MB, free: 21.78 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.733e-05/0.2751, allocations: 34.58 kB / 412.9 MB, free: 21.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.2751, allocations: 7.984 kB / 412.9 MB, free: 21.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/0.2753, allocations: 75.39 kB / 413 MB, free: 21.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.2753, allocations: 0 / 413 MB, free: 21.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002977/0.2756, allocations: 137.3 kB / 413.1 MB, free: 21.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.2756, allocations: 136.5 kB / 413.3 MB, free: 21.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.2758, allocations: 273.2 kB / 413.5 MB, free: 21.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.2758, allocations: 29.7 kB / 413.6 MB, free: 21.03 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.047e-05/0.2759, allocations: 120.1 kB / 413.7 MB, free: 20.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.2759, allocations: 19.75 kB / 413.7 MB, free: 20.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.276, allocations: 29.7 kB / 413.7 MB, free: 20.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.295e-05/0.276, allocations: 338.7 kB / 414.1 MB, free: 20.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.044e-05/0.2761, allocations: 15.98 kB / 414.1 MB, free: 20.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.83e-05/0.2762, allocations: 79.58 kB / 414.2 MB, free: 20.4 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.576e-05/0.2763, allocations: 76.16 kB / 414.2 MB, free: 20.31 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2763, allocations: 0 / 414.2 MB, free: 20.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001606/0.2764, allocations: 121.8 kB / 414.4 MB, free: 20.19 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.2765, allocations: 6.344 kB / 414.4 MB, free: 20.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.2765, allocations: 0 / 414.4 MB, free: 20.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.2765, allocations: 4 kB / 414.4 MB, free: 20.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.826e-05/0.2766, allocations: 11.94 kB / 414.4 MB, free: 20.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.2766, allocations: 4 kB / 414.4 MB, free: 20.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.897e-05/0.2766, allocations: 19.83 kB / 414.4 MB, free: 20.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.2766, allocations: 4 kB / 414.4 MB, free: 20.14 MB / 298.7 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 7.994e-05/0.2767, allocations: 151.4 kB / 414.6 MB, free: 19.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.854e-05/0.2768, allocations: 61.45 kB / 414.6 MB, free: 19.92 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.049e-05/0.2768, allocations: 25.7 kB / 414.6 MB, free: 19.89 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2769, allocations: 0 / 414.6 MB, free: 19.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2769, allocations: 0 / 414.6 MB, free: 19.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2769, allocations: 11.92 kB / 414.6 MB, free: 19.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.277, allocations: 221.7 kB / 414.9 MB, free: 19.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.277, allocations: 0 / 414.9 MB, free: 19.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.267e-05/0.277, allocations: 4.062 kB / 414.9 MB, free: 19.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.2771, allocations: 8 kB / 414.9 MB, free: 19.6 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.2771, allocations: 11.92 kB / 414.9 MB, free: 19.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2771, allocations: 0 / 414.9 MB, free: 19.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2771, allocations: 4 kB / 414.9 MB, free: 19.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004309/0.2775, allocations: 0.7541 MB / 415.6 MB, free: 18.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.279e-05/0.2776, allocations: 104.8 kB / 415.7 MB, free: 18.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.2776, allocations: 7.938 kB / 415.8 MB, free: 18.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.704e-05/0.2777, allocations: 11.98 kB / 415.8 MB, free: 18.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.2777, allocations: 4 kB / 415.8 MB, free: 18.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.2778, allocations: 3.938 kB / 415.8 MB, free: 18.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001564/0.2779, allocations: 204.5 kB / 416 MB, free: 18.42 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2779, allocations: 0 / 416 MB, free: 18.42 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003268/0.2783, allocations: 35.98 kB / 416 MB, free: 18.39 MB / 298.7 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.0009272/0.2792, allocations: 420.8 kB / 416.4 MB, free: 18.11 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001888/0.2794, allocations: 63.91 kB / 416.5 MB, free: 18.05 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2794, allocations: 0 / 416.5 MB, free: 18.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.108e-05/0.2795, allocations: 27.92 kB / 416.5 MB, free: 18.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.2798, allocations: 53.44 kB / 416.6 MB, free: 17.97 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005168/0.2804, allocations: 0.4895 MB / 417.1 MB, free: 17.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.2806, allocations: 0.7283 MB / 417.8 MB, free: 16.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.923e-05/0.2806, allocations: 33.72 kB / 417.8 MB, free: 16.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/0.2807, allocations: 23.42 kB / 417.8 MB, free: 16.62 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2807, allocations: 0 / 417.8 MB, free: 16.62 MB / 298.7 MB Notification: Performance of Templates: time 0.006294/0.287, allocations: 2.374 MB / 420.2 MB, free: 14.27 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches