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.001699/0.001699, allocations: 200.5 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 226.5 MB / 245.4 MB, free: 6.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001086/0.001086, allocations: 98.89 kB / 297.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002793/0.0002793, allocations: 4 kB / 358.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3091, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1093/0.4184, allocations: 82.25 MB / 491.6 MB, free: 9.254 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.4187, allocations: 83.95 kB / 491.7 MB, free: 9.172 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02055/0.4393, allocations: 7.358 MB / 499.1 MB, free: 1.824 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4393, allocations: 0 / 499.1 MB, free: 1.824 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.955e-05/0.4394, allocations: 8 kB / 499.1 MB, free: 1.816 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.0007372/0.4401, allocations: 0.5275 MB / 499.6 MB, free: 1.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.4401, allocations: 8.031 kB / 499.6 MB, free: 1.223 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.499e-05/0.4402, allocations: 20.75 kB / 499.6 MB, free: 1.203 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004272/0.4407, allocations: 278.8 kB / 499.9 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.4407, allocations: 4.375 kB / 499.9 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.4407, allocations: 4.375 kB / 499.9 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.4411, allocations: 154.8 kB / 0.4883 GB, free: 0.7109 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.4411, allocations: 192 / 0.4883 GB, free: 0.7109 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.4411, allocations: 11.94 kB / 0.4884 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4411, allocations: 0 / 0.4884 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.4412, allocations: 35.92 kB / 0.4884 GB, free: 0.6641 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005449/0.4418, allocations: 374.2 kB / 0.4887 GB, free: 248 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.442, allocations: 111.9 kB / 0.4889 GB, free: 108 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.138e-05/0.4421, allocations: 54.56 kB / 0.4889 GB, free: 44 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.4421, allocations: 80 / 0.4889 GB, free: 44 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.4423, allocations: 75.36 kB / 0.489 GB, free: 15.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.773e-06/0.4423, allocations: 0 / 0.489 GB, free: 15.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003457/0.4427, allocations: 149.4 kB / 0.4891 GB, free: 15.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.551e-05/0.4428, allocations: 136.5 kB / 0.4893 GB, free: 15.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003008/0.4431, allocations: 273 kB / 0.4895 GB, free: 15.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.4431, allocations: 25.7 kB / 0.4895 GB, free: 15.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.174e-05/0.4432, allocations: 120 kB / 0.4897 GB, free: 15.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.4432, allocations: 23.73 kB / 0.4897 GB, free: 15.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-06/0.4432, allocations: 0 / 0.4897 GB, free: 15.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.98e-05/0.4433, allocations: 334.9 kB / 0.49 GB, free: 14.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.904e-05/0.4434, allocations: 23.98 kB / 0.49 GB, free: 14.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.193e-05/0.4435, allocations: 71.95 kB / 0.4901 GB, free: 14.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.4436, allocations: 84.25 kB / 0.4902 GB, free: 14.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4436, allocations: 0 / 0.4902 GB, free: 14.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002156/0.4439, allocations: 113.4 kB / 0.4903 GB, free: 14.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.4439, allocations: 4 kB / 0.4903 GB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4439, allocations: 0 / 0.4903 GB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.4439, allocations: 4 kB / 0.4903 GB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.344e-05/0.444, allocations: 20.05 kB / 0.4903 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.444, allocations: 4 kB / 0.4903 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.409e-05/0.4441, allocations: 8 kB / 0.4903 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.4441, allocations: 4 kB / 0.4903 GB, free: 14.47 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.0001443/0.4443, allocations: 145.7 kB / 0.4905 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.713e-05/0.4444, allocations: 69.34 kB / 0.4905 GB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.4446, allocations: 115.4 kB / 0.4906 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.4447, allocations: 4 kB / 0.4906 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.4447, allocations: 0 / 0.4906 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.4447, allocations: 0 / 0.4906 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.4449, allocations: 241.8 kB / 0.4909 GB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.4449, allocations: 4 kB / 0.4909 GB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.362e-05/0.445, allocations: 8 kB / 0.4909 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.445, allocations: 0 / 0.4909 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.445, allocations: 8 kB / 0.4909 GB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.445, allocations: 0 / 0.4909 GB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.445, allocations: 3.984 kB / 0.4909 GB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003234/0.4453, allocations: 166.5 kB / 0.491 GB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.4455, allocations: 116.8 kB / 0.4912 GB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.4455, allocations: 0 / 0.4912 GB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.648e-05/0.4456, allocations: 11.98 kB / 0.4912 GB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.4456, allocations: 4 kB / 0.4912 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.4457, allocations: 8 kB / 0.4912 GB, free: 13.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002473/0.4459, allocations: 204.4 kB / 0.4914 GB, free: 13.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.124e-06/0.4459, allocations: 0 / 0.4914 GB, free: 13.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000293/0.4462, allocations: 40.03 kB / 0.4914 GB, free: 13.23 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.00104/0.4473, allocations: 427.5 kB / 0.4918 GB, free: 12.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002442/0.4475, allocations: 76.08 kB / 0.4919 GB, free: 12.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4475, allocations: 0 / 0.4919 GB, free: 12.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.063e-05/0.4476, allocations: 31.94 kB / 0.4919 GB, free: 12.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.4481, allocations: 64.3 kB / 0.492 GB, free: 12.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006448/0.4487, allocations: 353 kB / 0.4923 GB, free: 12.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.4491, allocations: 0.7361 MB / 0.493 GB, free: 11.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.247e-05/0.4492, allocations: 29.62 kB / 0.4931 GB, free: 11.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.418e-05/0.4493, allocations: 15.44 kB / 0.4931 GB, free: 11.61 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4493, allocations: 4 kB / 0.4931 GB, free: 11.6 MB / 378.7 MB Notification: Performance of Templates: time 0.006721/0.456, allocations: 2.374 MB / 0.4954 GB, free: 9.246 MB / 378.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/jenkins1/ws/OpenModelicaLibraryTestingWork/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