Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001485/0.001485, allocations: 203.1 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 226.5 MB / 245.3 MB, free: 8.258 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000731/0.0007311, allocations: 102 kB / 297.4 MB, free: 6.906 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000238/0.0002381, allocations: 4 kB / 357.4 MB, free: 10.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1967, allocations: 51.3 MB / 408.7 MB, free: 27.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0901/0.2868, allocations: 82.26 MB / 490.9 MB, free: 9.363 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.2871, allocations: 87.94 kB / 491 MB, free: 9.277 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01946/0.3065, allocations: 7.352 MB / 498.4 MB, free: 1.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3066, allocations: 0 / 498.4 MB, free: 1.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.3066, allocations: 4 kB / 498.4 MB, free: 1.926 MB / 362.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.0006073/0.3072, allocations: 0.5198 MB / 498.9 MB, free: 1.348 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.3072, allocations: 12.03 kB / 498.9 MB, free: 1.336 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.992e-05/0.3073, allocations: 16.75 kB / 498.9 MB, free: 1.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003753/0.3077, allocations: 278.8 kB / 499.2 MB, free: 1.008 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.3077, allocations: 8.375 kB / 499.2 MB, free: 1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.3077, allocations: 4.375 kB / 499.2 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/0.308, allocations: 154.5 kB / 499.3 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.308, allocations: 4.125 kB / 499.3 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.3081, allocations: 11.94 kB / 499.4 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3081, allocations: 0 / 499.4 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.341e-05/0.3082, allocations: 39.95 kB / 499.4 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.3086, allocations: 374.2 kB / 499.8 MB, free: 356 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.3088, allocations: 111.9 kB / 499.9 MB, free: 216 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.672e-05/0.3089, allocations: 46.56 kB / 499.9 MB, free: 160 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.3089, allocations: 4 kB / 499.9 MB, free: 156 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001221/0.309, allocations: 79.27 kB / 0.4883 GB, free: 64 kB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.3091, allocations: 0 / 0.4883 GB, free: 64 kB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003413/0.3094, allocations: 141.7 kB / 0.4884 GB, free: 15.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/0.3095, allocations: 136.5 kB / 0.4885 GB, free: 15.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.3098, allocations: 277.2 kB / 0.4888 GB, free: 15.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.3098, allocations: 25.7 kB / 0.4888 GB, free: 15.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.217e-05/0.3099, allocations: 120 kB / 0.489 GB, free: 15.31 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.3099, allocations: 15.81 kB / 0.489 GB, free: 15.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/0.3099, allocations: 0 / 0.489 GB, free: 15.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.31, allocations: 338.8 kB / 0.4893 GB, free: 14.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.623e-05/0.3101, allocations: 16 kB / 0.4893 GB, free: 14.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.348e-05/0.3102, allocations: 81.83 kB / 0.4894 GB, free: 14.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.3103, allocations: 80.28 kB / 0.4895 GB, free: 14.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3103, allocations: 0 / 0.4895 GB, free: 14.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001936/0.3105, allocations: 121.4 kB / 0.4896 GB, free: 14.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.3105, allocations: 4 kB / 0.4896 GB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3105, allocations: 4 kB / 0.4896 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.3105, allocations: 0 / 0.4896 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.155e-05/0.3106, allocations: 15.98 kB / 0.4896 GB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3106, allocations: 0 / 0.4896 GB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.697e-05/0.3107, allocations: 8 kB / 0.4896 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.3107, allocations: 8.125 kB / 0.4896 GB, free: 14.58 MB / 378.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 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.3108, allocations: 153.6 kB / 0.4898 GB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.29e-05/0.3109, allocations: 61.41 kB / 0.4898 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.3112, allocations: 123.3 kB / 0.4899 GB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3112, allocations: 0 / 0.4899 GB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.3112, allocations: 4 kB / 0.4899 GB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3112, allocations: 0 / 0.4899 GB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.3114, allocations: 233.6 kB / 0.4902 GB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3114, allocations: 4 kB / 0.4902 GB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.236e-05/0.3114, allocations: 7.984 kB / 0.4902 GB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.3114, allocations: 4 kB / 0.4902 GB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.3114, allocations: 4 kB / 0.4902 GB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3114, allocations: 0 / 0.4902 GB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3115, allocations: 4 kB / 0.4902 GB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.3117, allocations: 162.5 kB / 0.4903 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.191e-05/0.3118, allocations: 116.9 kB / 0.4905 GB, free: 13.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.3118, allocations: 8 kB / 0.4905 GB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.431e-05/0.3119, allocations: 12 kB / 0.4905 GB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.312, allocations: 11.92 kB / 0.4905 GB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.312, allocations: 4 kB / 0.4905 GB, free: 13.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001807/0.3122, allocations: 196.5 kB / 0.4907 GB, free: 13.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3122, allocations: 3.938 kB / 0.4907 GB, free: 13.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002641/0.3124, allocations: 40 kB / 0.4907 GB, free: 13.34 MB / 378.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,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 0.0008213/0.3133, allocations: 424.1 kB / 0.4911 GB, free: 13.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.3135, allocations: 71.91 kB / 0.4912 GB, free: 12.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3135, allocations: 0 / 0.4912 GB, free: 12.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.301e-05/0.3136, allocations: 31.92 kB / 0.4912 GB, free: 12.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.314, allocations: 75.56 kB / 0.4913 GB, free: 12.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000527/0.3145, allocations: 394.5 kB / 0.4917 GB, free: 12.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.3148, allocations: 0.7322 MB / 0.4924 GB, free: 11.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.888e-05/0.3148, allocations: 19.44 kB / 0.4924 GB, free: 11.69 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3148, allocations: 0 / 0.4924 GB, free: 11.69 MB / 378.7 MB Notification: Performance of Templates: time 0.004174/0.319, allocations: 2.656 MB / 0.495 GB, free: 9.051 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches