Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 221.5 MB / 230.3 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009525/0.0009522, allocations: 97.83 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.024e-05/2.006e-05, allocations: 0 / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1104, allocations: 50.43 MB / 387.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3831/0.4936, allocations: 80.34 MB / 467.8 MB, free: 14.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003268/0.494, allocations: 79.95 kB / 467.9 MB, free: 14.42 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02426/0.5183, allocations: 6.492 MB / 474.4 MB, free: 7.938 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.5183, allocations: 0 / 474.4 MB, free: 7.938 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.971e-05/0.5183, allocations: 0 / 474.4 MB, free: 7.938 MB / 346.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.0006775/0.519, allocations: 484.4 kB / 474.9 MB, free: 7.414 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.5191, allocations: 15.97 kB / 474.9 MB, free: 7.398 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.091e-05/0.5192, allocations: 19.75 kB / 474.9 MB, free: 7.379 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004882/0.5197, allocations: 261.6 kB / 475.1 MB, free: 7.086 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.5197, allocations: 4 kB / 475.1 MB, free: 7.082 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.5197, allocations: 4 kB / 475.1 MB, free: 7.078 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001422/0.5199, allocations: 35.98 kB / 475.2 MB, free: 7.043 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003227/0.5202, allocations: 142.8 kB / 475.3 MB, free: 6.879 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.5202, allocations: 0 / 475.3 MB, free: 6.879 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.5203, allocations: 3.953 kB / 475.3 MB, free: 6.875 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.5203, allocations: 0 / 475.3 MB, free: 6.875 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000593/0.5209, allocations: 339 kB / 475.7 MB, free: 6.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.5211, allocations: 103.9 kB / 475.8 MB, free: 6.371 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.302e-05/0.5212, allocations: 42.7 kB / 475.8 MB, free: 6.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.5212, allocations: 0 / 475.8 MB, free: 6.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001492/0.5214, allocations: 75.34 kB / 475.9 MB, free: 6.234 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.913e-06/0.5214, allocations: 0 / 475.9 MB, free: 6.234 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003163/0.5217, allocations: 105.4 kB / 476 MB, free: 6.125 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.913e-05/0.5218, allocations: 136.6 kB / 476.1 MB, free: 5.961 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003513/0.5222, allocations: 236.3 kB / 476.3 MB, free: 5.723 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.5222, allocations: 33.64 kB / 476.4 MB, free: 5.684 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.855e-05/0.5223, allocations: 108.1 kB / 476.5 MB, free: 5.574 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.5224, allocations: 23.86 kB / 476.5 MB, free: 5.551 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/0.5224, allocations: 0 / 476.5 MB, free: 5.551 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.5225, allocations: 326.8 kB / 476.8 MB, free: 5.223 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.64e-05/0.5226, allocations: 20 kB / 476.8 MB, free: 5.203 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.722e-05/0.5227, allocations: 66 kB / 476.9 MB, free: 5.117 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.537e-05/0.5228, allocations: 23.98 kB / 476.9 MB, free: 5.094 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5228, allocations: 0 / 476.9 MB, free: 5.094 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002305/0.523, allocations: 105.4 kB / 477 MB, free: 4.984 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.5231, allocations: 13.23 kB / 477 MB, free: 4.973 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.5231, allocations: 0 / 477 MB, free: 4.973 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.5231, allocations: 11.94 kB / 477.1 MB, free: 4.961 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.5232, allocations: 8 kB / 477.1 MB, free: 4.953 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.5232, allocations: 0 / 477.1 MB, free: 4.953 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.316e-05/0.5233, allocations: 11.98 kB / 477.1 MB, free: 4.941 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.5234, allocations: 4 kB / 477.1 MB, free: 4.938 MB / 346.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 () * 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.0001004/0.5235, allocations: 117 kB / 477.2 MB, free: 4.816 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.22e-05/0.5236, allocations: 53.55 kB / 477.2 MB, free: 4.758 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.5238, allocations: 111.4 kB / 477.4 MB, free: 4.645 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.894e-06/0.5238, allocations: 7.953 kB / 477.4 MB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.5238, allocations: 4 kB / 477.4 MB, free: 4.633 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.5239, allocations: 0 / 477.4 MB, free: 4.633 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.5241, allocations: 206.1 kB / 477.6 MB, free: 4.395 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5241, allocations: 0 / 477.6 MB, free: 4.395 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.008e-05/0.5241, allocations: 4.062 kB / 477.6 MB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.5242, allocations: 11.98 kB / 477.6 MB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.5242, allocations: 4 kB / 477.6 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.5242, allocations: 0 / 477.6 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.5242, allocations: 4 kB / 477.6 MB, free: 4.371 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.5245, allocations: 174 kB / 477.8 MB, free: 4.164 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.5246, allocations: 120.7 kB / 477.9 MB, free: 4.027 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.238e-05/0.5247, allocations: 7.953 kB / 477.9 MB, free: 4.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.201e-05/0.5248, allocations: 7.984 kB / 477.9 MB, free: 4.012 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.5248, allocations: 8 kB / 477.9 MB, free: 4.004 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.5248, allocations: 0 / 477.9 MB, free: 4.004 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002139/0.5251, allocations: 184.5 kB / 478.1 MB, free: 3.82 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.098e-05/0.5251, allocations: 0 / 478.1 MB, free: 3.82 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003675/0.5255, allocations: 35.92 kB / 478.1 MB, free: 3.785 MB / 346.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) * 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.00103/0.5265, allocations: 354.1 kB / 478.5 MB, free: 3.516 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002137/0.5267, allocations: 59.92 kB / 478.5 MB, free: 3.457 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5267, allocations: 0 / 478.5 MB, free: 3.457 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.076e-05/0.5268, allocations: 36.16 kB / 478.6 MB, free: 3.422 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.5273, allocations: 60.41 kB / 478.6 MB, free: 3.363 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00055/0.5278, allocations: 220.1 kB / 478.8 MB, free: 3.117 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.5282, allocations: 0.7282 MB / 479.6 MB, free: 2.363 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.5283, allocations: 25.2 kB / 479.6 MB, free: 2.336 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.201e-05/0.5284, allocations: 19.44 kB / 479.6 MB, free: 2.316 MB / 346.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5284, allocations: 0 / 479.6 MB, free: 2.316 MB / 346.7 MB Notification: Performance of Templates: time 0.007584/0.536, allocations: 2.194 MB / 481.8 MB, free: 144 kB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches