Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001259/0.001259, allocations: 114.6 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001271/0.001271, allocations: 211.7 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.445/1.445, allocations: 227.7 MB / 247.9 MB, free: 10.18 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 59.89 kB / 359.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2429, allocations: 50.55 MB / 410.2 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.00324/0.2462, allocations: 1.901 MB / 412.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002047/0.2482, allocations: 1.223 MB / 413.3 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.2483, allocations: 7.938 kB / 413.3 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005518/0.2489, allocations: 147.5 kB / 413.5 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003652/0.2492, allocations: 159.4 kB / 413.6 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004394/0.2497, allocations: 171.3 kB / 413.8 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.2499, allocations: 187.5 kB / 414 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.525e-05/0.25, allocations: 21.55 kB / 414 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.2501, allocations: 79.62 kB / 414.1 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.2502, allocations: 79.62 kB / 414.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.2503, allocations: 8 kB / 414.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.2504, allocations: 55.97 kB / 414.2 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.816e-05/0.2505, allocations: 47.83 kB / 414.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.164e-05/0.2506, allocations: 75.42 kB / 414.3 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.2509, allocations: 203.1 kB / 414.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.2509, allocations: 4 kB / 414.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2509, allocations: 0 / 414.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.2509, allocations: 0 / 414.5 MB, free: 13.1 MB / 334.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.000779/0.2517, allocations: 0.5194 MB / 415.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.2517, allocations: 8.031 kB / 415.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.779e-05/0.2517, allocations: 24.8 kB / 415.1 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.2521, allocations: 274.9 kB / 415.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.2521, allocations: 4.375 kB / 415.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.2522, allocations: 12.12 kB / 415.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003055/0.2525, allocations: 146.7 kB / 415.5 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.2525, allocations: 0 / 415.5 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.2525, allocations: 4 kB / 415.5 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.2525, allocations: 4 kB / 415.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.2526, allocations: 35.91 kB / 415.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004946/0.2531, allocations: 374.3 kB / 415.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.2533, allocations: 111.9 kB / 416 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.156e-05/0.2534, allocations: 42.56 kB / 416.1 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.2534, allocations: 4 kB / 416.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.2536, allocations: 71.39 kB / 416.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 3.377e-06/0.2536, allocations: 4 kB / 416.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003402/0.2539, allocations: 145.3 kB / 416.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.411e-05/0.254, allocations: 140.5 kB / 416.4 MB, free: 10.94 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.2543, allocations: 269 kB / 416.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.2543, allocations: 25.7 kB / 416.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.007e-05/0.2544, allocations: 116.1 kB / 416.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.2545, allocations: 20.14 kB / 416.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.134e-05/0.2545, allocations: 33.67 kB / 416.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.2546, allocations: 338.8 kB / 417.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.2e-05/0.2547, allocations: 12 kB / 417.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.949e-05/0.2548, allocations: 77.92 kB / 417.3 MB, free: 10.01 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.2549, allocations: 72.27 kB / 417.4 MB, free: 9.926 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2549, allocations: 0 / 417.4 MB, free: 9.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002207/0.2552, allocations: 113.5 kB / 417.5 MB, free: 9.809 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.2552, allocations: 4.125 kB / 417.5 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2552, allocations: 4 kB / 417.5 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.2552, allocations: 4 kB / 417.5 MB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.517e-05/0.2553, allocations: 15.92 kB / 417.5 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2553, allocations: 4 kB / 417.5 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.2e-05/0.2554, allocations: 19.83 kB / 417.5 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.2554, allocations: 4 kB / 417.5 MB, free: 9.754 MB / 334.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.0001315/0.2555, allocations: 150.1 kB / 417.7 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.825e-05/0.2556, allocations: 69.53 kB / 417.8 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.026e-05/0.2556, allocations: 25.7 kB / 417.8 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.2556, allocations: 0 / 417.8 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.2556, allocations: 0 / 417.8 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.2556, allocations: 7.938 kB / 417.8 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.2559, allocations: 225.5 kB / 418 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2559, allocations: 0 / 418 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.817e-05/0.2559, allocations: 7.938 kB / 418 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.2559, allocations: 7.938 kB / 418 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.2559, allocations: 0 / 418 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.2559, allocations: 7.938 kB / 418 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2559, allocations: 4.062 kB / 418 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.2561, allocations: 154.6 kB / 418.2 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.2562, allocations: 113 kB / 418.3 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.2563, allocations: 0 / 418.3 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.174e-05/0.2563, allocations: 7.984 kB / 418.3 MB, free: 8.879 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.2564, allocations: 12 kB / 418.3 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.2564, allocations: 7.938 kB / 418.3 MB, free: 8.859 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001997/0.2566, allocations: 196.5 kB / 418.5 MB, free: 8.668 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2566, allocations: 0 / 418.5 MB, free: 8.668 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00025/0.2568, allocations: 35.92 kB / 418.6 MB, free: 8.633 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.001402/0.2582, allocations: 414.4 kB / 419 MB, free: 8.379 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002051/0.2584, allocations: 71.84 kB / 419 MB, free: 8.309 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.2584, allocations: 0 / 419 MB, free: 8.309 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.924e-05/0.2585, allocations: 27.98 kB / 419.1 MB, free: 8.281 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.2589, allocations: 69.06 kB / 419.1 MB, free: 8.219 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005428/0.2594, allocations: 316.8 kB / 419.4 MB, free: 7.875 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.2598, allocations: 0.7358 MB / 420.2 MB, free: 7.113 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.976e-05/0.2599, allocations: 21.53 kB / 420.2 MB, free: 7.094 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.2599, allocations: 19.44 kB / 420.2 MB, free: 7.074 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2599, allocations: 0 / 420.2 MB, free: 7.074 MB / 334.1 MB Notification: Performance of Templates: time 0.006478/0.2664, allocations: 2.465 MB / 422.7 MB, free: 4.637 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches