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.001043/0.001043, allocations: 195.9 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 226.6 MB / 244.3 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007869/0.0007871, allocations: 106.4 kB / 296.4 MB, free: 7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002174/0.0002174, allocations: 4 kB / 356.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2055, allocations: 51.3 MB / 407.5 MB, free: 27.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.00123/0.2067, allocations: 1.195 MB / 408.7 MB, free: 26.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002649/0.207, allocations: 148.4 kB / 408.8 MB, free: 26.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.326e-05/0.2071, allocations: 0 / 408.8 MB, free: 26.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.662e-05/0.2071, allocations: 5.672 kB / 408.8 MB, free: 26.49 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.2072, allocations: 3.938 kB / 408.8 MB, free: 26.49 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.2075, allocations: 31.91 kB / 408.9 MB, free: 26.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.721e-05/0.2075, allocations: 27.92 kB / 408.9 MB, free: 26.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.139e-05/0.2076, allocations: 5.344 kB / 408.9 MB, free: 26.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.631e-05/0.2076, allocations: 7.938 kB / 408.9 MB, free: 26.42 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.981e-05/0.2077, allocations: 15.86 kB / 408.9 MB, free: 26.4 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.2077, allocations: 4.594 kB / 408.9 MB, free: 26.4 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.019e-05/0.2077, allocations: 2.125 kB / 408.9 MB, free: 26.4 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.704e-05/0.2078, allocations: 7.984 kB / 408.9 MB, free: 26.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.709e-05/0.2078, allocations: 33.64 kB / 409 MB, free: 26.35 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.362e-05/0.2079, allocations: 23.95 kB / 409 MB, free: 26.33 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2079, allocations: 0 / 409 MB, free: 26.33 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2079, allocations: 0 / 409 MB, free: 26.33 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.2079, allocations: 5.719 kB / 409 MB, free: 26.32 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.000323/0.2082, allocations: 352.1 kB / 409.4 MB, free: 25.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.2082, allocations: 11.97 kB / 409.4 MB, free: 25.92 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.644e-05/0.2083, allocations: 8.656 kB / 409.4 MB, free: 25.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.2084, allocations: 179.8 kB / 409.5 MB, free: 25.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.2084, allocations: 0.5 kB / 409.5 MB, free: 25.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.2085, allocations: 8.906 kB / 409.6 MB, free: 25.69 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.2086, allocations: 92.88 kB / 409.6 MB, free: 25.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.2087, allocations: 0 / 409.6 MB, free: 25.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.2087, allocations: 0 / 409.6 MB, free: 25.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.2087, allocations: 0 / 409.6 MB, free: 25.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.156e-05/0.2087, allocations: 23.91 kB / 409.7 MB, free: 25.56 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002364/0.209, allocations: 263.2 kB / 409.9 MB, free: 25.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.945e-05/0.209, allocations: 49.14 kB / 410 MB, free: 25.19 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.076e-05/0.2091, allocations: 13.78 kB / 410 MB, free: 25.17 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.2091, allocations: 4 kB / 410 MB, free: 25.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.286e-05/0.2091, allocations: 34.56 kB / 410 MB, free: 25.12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.723e-06/0.2091, allocations: 4 kB / 410 MB, free: 25.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001679/0.2093, allocations: 57.62 kB / 410.1 MB, free: 25.05 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.2093, allocations: 77.11 kB / 410.2 MB, free: 24.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.907e-05/0.2094, allocations: 140.8 kB / 410.3 MB, free: 24.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.033e-06/0.2094, allocations: 25.7 kB / 410.3 MB, free: 24.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.634e-05/0.2095, allocations: 80.14 kB / 410.4 MB, free: 24.7 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.342e-06/0.2095, allocations: 4.25 kB / 410.4 MB, free: 24.7 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/0.2095, allocations: 4 kB / 410.4 MB, free: 24.7 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.219e-05/0.2095, allocations: 314.8 kB / 410.7 MB, free: 24.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.7e-05/0.2096, allocations: 7.984 kB / 410.7 MB, free: 24.37 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.313e-05/0.2096, allocations: 17.66 kB / 410.7 MB, free: 24.35 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.627e-05/0.2096, allocations: 12 kB / 410.8 MB, free: 24.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2096, allocations: 4.062 kB / 410.8 MB, free: 24.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.136e-05/0.2097, allocations: 45.64 kB / 410.8 MB, free: 24.28 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.2097, allocations: 4 kB / 410.8 MB, free: 24.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2097, allocations: 4 kB / 410.8 MB, free: 24.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.2098, allocations: 3.938 kB / 410.8 MB, free: 24.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.342e-05/0.2098, allocations: 7.875 kB / 410.8 MB, free: 24.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.2098, allocations: 0 / 410.8 MB, free: 24.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.471e-05/0.2098, allocations: 8 kB / 410.8 MB, free: 24.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.2098, allocations: 8.047 kB / 410.8 MB, free: 24.25 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.185e-05/0.2099, allocations: 109.8 kB / 410.9 MB, free: 24.13 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.411e-05/0.2099, allocations: 45.56 kB / 411 MB, free: 24.08 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.444e-05/0.21, allocations: 7.516 kB / 411 MB, free: 24.06 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.21, allocations: 4 kB / 411 MB, free: 24.06 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.21, allocations: 0 / 411 MB, free: 24.06 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.21, allocations: 0 / 411 MB, free: 24.06 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.2101, allocations: 161.7 kB / 411.2 MB, free: 23.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2101, allocations: 4 kB / 411.2 MB, free: 23.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.682e-06/0.2101, allocations: 8.016 kB / 411.2 MB, free: 23.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2101, allocations: 11.89 kB / 411.2 MB, free: 23.83 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.2101, allocations: 0 / 411.2 MB, free: 23.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.2101, allocations: 3.984 kB / 411.2 MB, free: 23.82 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2101, allocations: 0 / 411.2 MB, free: 23.82 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.675e-05/0.2102, allocations: 152.3 kB / 411.3 MB, free: 23.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.12e-05/0.2103, allocations: 93 kB / 411.4 MB, free: 23.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.2103, allocations: 7.953 kB / 411.4 MB, free: 23.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.4e-05/0.2104, allocations: 0 / 411.4 MB, free: 23.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.2104, allocations: 0 / 411.4 MB, free: 23.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.2104, allocations: 4 kB / 411.4 MB, free: 23.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.871e-05/0.2104, allocations: 103.2 kB / 411.5 MB, free: 23.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2104, allocations: 0 / 411.5 MB, free: 23.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001981/0.2107, allocations: 4 kB / 411.5 MB, free: 23.43 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 6.927e-05/0.2107, allocations: 103.2 kB / 411.6 MB, free: 23.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.712e-05/0.2108, allocations: 16 kB / 411.7 MB, free: 23.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2108, allocations: 0 / 411.7 MB, free: 23.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.365e-05/0.2109, allocations: 7.984 kB / 411.7 MB, free: 23.3 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.2111, allocations: 12.03 kB / 411.7 MB, free: 23.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002263/0.2114, allocations: 187.4 kB / 411.9 MB, free: 23.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.2115, allocations: 0.6848 MB / 412.5 MB, free: 22.36 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.891e-05/0.2115, allocations: 7.438 kB / 412.6 MB, free: 22.35 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2115, allocations: 0 / 412.6 MB, free: 22.35 MB / 298.7 MB Notification: Performance of Templates: time 0.001455/0.213, allocations: 0.6061 MB / 413.2 MB, free: 21.75 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