Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001125/0.001125, allocations: 199.3 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 226.5 MB / 244.7 MB, free: 6.445 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009172/0.0009173, allocations: 104.1 kB / 296.8 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003158/0.000316, allocations: 4 kB / 356.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2212, allocations: 51.3 MB / 408 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.001492/0.2228, allocations: 1.195 MB / 409.2 MB, free: 26.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000305/0.2231, allocations: 131.7 kB / 409.4 MB, free: 26.37 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.971e-05/0.2232, allocations: 8.5 kB / 409.4 MB, free: 26.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.87e-05/0.2233, allocations: 3.984 kB / 409.4 MB, free: 26.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.2234, allocations: 4.469 kB / 409.4 MB, free: 26.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.2236, allocations: 32.66 kB / 409.4 MB, free: 26.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.549e-05/0.2237, allocations: 27.86 kB / 409.4 MB, free: 26.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.2238, allocations: 9.984 kB / 409.5 MB, free: 26.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.318e-05/0.2239, allocations: 8 kB / 409.5 MB, free: 26.28 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.448e-05/0.2239, allocations: 11.92 kB / 409.5 MB, free: 26.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.2239, allocations: 4 kB / 409.5 MB, free: 26.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.093e-05/0.224, allocations: 5.688 kB / 409.5 MB, free: 26.26 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.71e-05/0.224, allocations: 7.984 kB / 409.5 MB, free: 26.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.207e-05/0.224, allocations: 41.58 kB / 409.5 MB, free: 26.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.51e-05/0.2241, allocations: 19.95 kB / 409.6 MB, free: 26.19 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2241, allocations: 0.7812 kB / 409.6 MB, free: 26.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2241, allocations: 4 kB / 409.6 MB, free: 26.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.2241, allocations: 1.219 kB / 409.6 MB, free: 26.18 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000374/0.2245, allocations: 352.3 kB / 409.9 MB, free: 25.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.2246, allocations: 10.75 kB / 409.9 MB, free: 25.78 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.2246, allocations: 8.844 kB / 409.9 MB, free: 25.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.2248, allocations: 192.1 kB / 410.1 MB, free: 25.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.2248, allocations: 4.312 kB / 410.1 MB, free: 25.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.2248, allocations: 4.375 kB / 410.1 MB, free: 25.54 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.225, allocations: 92.05 kB / 410.2 MB, free: 25.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.225, allocations: 192 / 410.2 MB, free: 25.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.2251, allocations: 3.938 kB / 410.2 MB, free: 25.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.2251, allocations: 0 / 410.2 MB, free: 25.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.312e-05/0.2251, allocations: 14.3 kB / 410.2 MB, free: 25.42 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002726/0.2254, allocations: 260.7 kB / 410.5 MB, free: 25.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.845e-05/0.2255, allocations: 45.08 kB / 410.5 MB, free: 25.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.397e-05/0.2255, allocations: 17.78 kB / 410.5 MB, free: 25.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.2255, allocations: 4 kB / 410.5 MB, free: 25.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.2256, allocations: 38.5 kB / 410.6 MB, free: 24.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.2256, allocations: 0 / 410.6 MB, free: 24.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001899/0.2258, allocations: 57.59 kB / 410.6 MB, free: 24.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.2258, allocations: 85.28 kB / 410.7 MB, free: 24.81 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.801e-05/0.2259, allocations: 137.8 kB / 410.9 MB, free: 24.67 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.2259, allocations: 25.7 kB / 410.9 MB, free: 24.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.566e-05/0.226, allocations: 84.14 kB / 411 MB, free: 24.55 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.047e-06/0.226, allocations: 7.906 kB / 411 MB, free: 24.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.226, allocations: 0 / 411 MB, free: 24.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.434e-05/0.2261, allocations: 310.8 kB / 411.3 MB, free: 24.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.735e-05/0.2261, allocations: 7.984 kB / 411.3 MB, free: 24.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.438e-05/0.2261, allocations: 21.72 kB / 411.3 MB, free: 24.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.525e-05/0.2262, allocations: 21.72 kB / 411.3 MB, free: 24.17 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2262, allocations: 4 kB / 411.3 MB, free: 24.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.433e-05/0.2263, allocations: 49.56 kB / 411.4 MB, free: 24.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.2263, allocations: 8.125 kB / 411.4 MB, free: 24.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2263, allocations: 4 kB / 411.4 MB, free: 24.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.2263, allocations: 3.938 kB / 411.4 MB, free: 24.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.732e-05/0.2263, allocations: 3.984 kB / 411.4 MB, free: 24.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.2263, allocations: 0 / 411.4 MB, free: 24.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.542e-05/0.2264, allocations: 4 kB / 411.4 MB, free: 24.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.2264, allocations: 3.984 kB / 411.4 MB, free: 24.09 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.868e-05/0.2264, allocations: 121.7 kB / 411.5 MB, free: 23.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/0.2265, allocations: 45.59 kB / 411.6 MB, free: 23.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.2265, allocations: 7.562 kB / 411.6 MB, free: 23.89 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.2265, allocations: 4 kB / 411.6 MB, free: 23.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2266, allocations: 0 / 411.6 MB, free: 23.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2266, allocations: 4 kB / 411.6 MB, free: 23.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.2267, allocations: 169.6 kB / 411.8 MB, free: 23.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2267, allocations: 0 / 411.8 MB, free: 23.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.2e-06/0.2267, allocations: 0 / 411.8 MB, free: 23.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.2267, allocations: 7.938 kB / 411.8 MB, free: 23.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.2267, allocations: 0 / 411.8 MB, free: 23.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.2267, allocations: 0 / 411.8 MB, free: 23.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2267, allocations: 0 / 411.8 MB, free: 23.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.2269, allocations: 156.3 kB / 411.9 MB, free: 23.49 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.598e-05/0.2269, allocations: 96.98 kB / 412 MB, free: 23.38 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.2269, allocations: 4 kB / 412 MB, free: 23.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.447e-05/0.227, allocations: 0 / 412 MB, free: 23.37 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.227, allocations: 4.031 kB / 412 MB, free: 23.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-06/0.227, allocations: 4 kB / 412 MB, free: 23.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.333e-05/0.2271, allocations: 103.2 kB / 412.1 MB, free: 23.26 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2271, allocations: 0 / 412.1 MB, free: 23.26 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002112/0.2273, allocations: 4 kB / 412.1 MB, free: 23.26 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.863e-05/0.2274, allocations: 95.25 kB / 412.2 MB, free: 23.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.95e-05/0.2275, allocations: 23.92 kB / 412.2 MB, free: 23.13 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2275, allocations: 4.125 kB / 412.2 MB, free: 23.13 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.356e-05/0.2275, allocations: 4 kB / 412.2 MB, free: 23.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.2279, allocations: 22.36 kB / 412.3 MB, free: 23.11 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002668/0.2282, allocations: 183.2 kB / 412.4 MB, free: 22.89 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.2283, allocations: 0.6848 MB / 413.1 MB, free: 22.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.5e-05/0.2283, allocations: 11.44 kB / 413.1 MB, free: 22.17 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2283, allocations: 0 / 413.1 MB, free: 22.17 MB / 298.7 MB Notification: Performance of Templates: time 0.001764/0.2301, allocations: 0.6021 MB / 413.7 MB, free: 21.57 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches