Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 170 kB / 16.8 MB, free: 4.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.4 MB / 223 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008519/0.000852, allocations: 93.2 kB / 271.3 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09057/0.09057, allocations: 12.59 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003385/0.0003385, allocations: 16 kB / 393.3 MB, free: 65.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07234/0.07269, allocations: 50.38 MB / 443.7 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked): time 0.00136/0.07408, allocations: 1.196 MB / 444.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003029/0.07441, allocations: 131.6 kB / 445 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.164e-05/0.07449, allocations: 0 / 445 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.983e-05/0.07453, allocations: 3.984 kB / 445 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.07466, allocations: 11.92 kB / 445 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.07488, allocations: 31.98 kB / 445.1 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.648e-05/0.07495, allocations: 27.91 kB / 445.1 MB, free: 14.01 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.529e-05/0.07504, allocations: 8 kB / 445.1 MB, free: 14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.515e-05/0.07507, allocations: 11.94 kB / 445.1 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.702e-05/0.07511, allocations: 11.92 kB / 445.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.07513, allocations: 0 / 445.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.378e-06/0.07514, allocations: 11.88 kB / 445.1 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.007e-05/0.07519, allocations: 4 kB / 445.1 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.271e-05/0.07523, allocations: 41.56 kB / 445.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.578e-05/0.07529, allocations: 27.89 kB / 445.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.0753, allocations: 0 / 445.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.07531, allocations: 0 / 445.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.07531, allocations: 4 kB / 445.2 MB, free: 13.88 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.0003191/0.07564, allocations: 351.6 kB / 445.6 MB, free: 13.49 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.07568, allocations: 8.031 kB / 445.6 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.777e-05/0.07571, allocations: 8.844 kB / 445.6 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.07584, allocations: 188.1 kB / 445.8 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.07586, allocations: 384 / 445.8 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.07588, allocations: 4.375 kB / 445.8 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.07606, allocations: 97.61 kB / 445.9 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.07607, allocations: 192 / 445.9 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.07609, allocations: 3.938 kB / 445.9 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.0761, allocations: 0 / 445.9 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.913e-05/0.07615, allocations: 15.92 kB / 445.9 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002303/0.07639, allocations: 265.8 kB / 446.1 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.794e-05/0.07645, allocations: 41.09 kB / 446.2 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.983e-05/0.07648, allocations: 21.77 kB / 446.2 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.07651, allocations: 4 kB / 446.2 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.48e-05/0.07653, allocations: 34.56 kB / 446.2 MB, free: 12.67 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.07654, allocations: 0 / 446.2 MB, free: 12.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001642/0.0767, allocations: 57.62 kB / 446.3 MB, free: 12.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.07675, allocations: 77.11 kB / 446.4 MB, free: 12.51 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.399e-05/0.07683, allocations: 141.9 kB / 446.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.492e-06/0.07684, allocations: 29.64 kB / 446.5 MB, free: 12.33 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.733e-05/0.07687, allocations: 92.12 kB / 446.6 MB, free: 12.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.021e-06/0.07688, allocations: 0 / 446.6 MB, free: 12.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-06/0.07689, allocations: 0 / 446.6 MB, free: 12.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.945e-05/0.07694, allocations: 310.8 kB / 446.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.544e-05/0.07697, allocations: 8 kB / 446.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.24e-05/0.077, allocations: 25.64 kB / 447 MB, free: 11.88 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.324e-05/0.07705, allocations: 25.72 kB / 447 MB, free: 11.85 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.07705, allocations: 0 / 447 MB, free: 11.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.497e-05/0.07713, allocations: 49.56 kB / 447 MB, free: 11.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.07715, allocations: 8 kB / 447 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.07716, allocations: 4.125 kB / 447 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.07718, allocations: 0 / 447 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.27e-05/0.0772, allocations: 0 / 447 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.07721, allocations: 0 / 447 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.428e-05/0.07724, allocations: 4 kB / 447 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.07725, allocations: 4 kB / 447.1 MB, free: 11.78 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 (sample.u,sample.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.806e-05/0.0773, allocations: 121.7 kB / 447.2 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.07735, allocations: 41.61 kB / 447.2 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.07738, allocations: 19.5 kB / 447.2 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.07739, allocations: 7.922 kB / 447.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.07739, allocations: 0 / 447.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.0774, allocations: 0 / 447.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.07752, allocations: 169.6 kB / 447.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.07753, allocations: 4 kB / 447.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.861e-06/0.07754, allocations: 4 kB / 447.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.07755, allocations: 3.984 kB / 447.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.07756, allocations: 0 / 447.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.07756, allocations: 0 / 447.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.07757, allocations: 4 kB / 447.4 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.584e-05/0.07767, allocations: 156.2 kB / 447.6 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.961e-05/0.07771, allocations: 93 kB / 447.7 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.07773, allocations: 0 / 447.7 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.068e-05/0.07778, allocations: 3.938 kB / 447.7 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.646e-05/0.07781, allocations: 7.938 kB / 447.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.07782, allocations: 4.031 kB / 447.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.759e-05/0.07787, allocations: 103.2 kB / 447.8 MB, free: 10.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.07787, allocations: 4 kB / 447.8 MB, free: 10.94 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001938/0.07807, allocations: 0 / 447.8 MB, free: 10.94 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 (sample.u,sample.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.841e-05/0.07814, allocations: 99.23 kB / 447.9 MB, free: 10.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.979e-05/0.07822, allocations: 12 kB / 447.9 MB, free: 10.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.07823, allocations: 4.125 kB / 447.9 MB, free: 10.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.446e-05/0.07826, allocations: 15.92 kB / 447.9 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.07856, allocations: 19.97 kB / 447.9 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000232/0.07881, allocations: 167.3 kB / 448.1 MB, free: 10.58 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.07892, allocations: 0.6967 MB / 448.8 MB, free: 9.859 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.841e-05/0.07895, allocations: 7.438 kB / 448.8 MB, free: 9.852 MB / 298.7 MB Notification: Performance of SimCode: time 3.11e-07/0.07895, allocations: 0 / 448.8 MB, free: 9.852 MB / 298.7 MB Notification: Performance of Templates: time 0.001477/0.08043, allocations: 0.6058 MB / 449.4 MB, free: 9.246 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches