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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.001341, allocations: 98.39 kB / 15.74 MB, free: 432 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 177.9 kB / 16.62 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 205.4 MB / 222.8 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09487/0.09487, allocations: 12.6 MB / 283.6 MB, free: 8.699 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007449/0.0007449, allocations: 24 kB / 344.5 MB, free: 21.28 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1161, allocations: 50.38 MB / 394.9 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002016/0.1182, allocations: 1.189 MB / 396.1 MB, free: 1.598 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004036/0.1186, allocations: 123.7 kB / 396.2 MB, free: 1.477 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.511e-05/0.1187, allocations: 4 kB / 396.2 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.058e-05/0.1188, allocations: 7.922 kB / 396.2 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.1189, allocations: 0 / 396.2 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.1192, allocations: 39.84 kB / 396.3 MB, free: 1.426 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.1194, allocations: 19.97 kB / 396.3 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.1195, allocations: 8 kB / 396.3 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.854e-05/0.1196, allocations: 7.922 kB / 396.3 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.757e-05/0.1196, allocations: 15.92 kB / 396.3 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.1196, allocations: 4 kB / 396.3 MB, free: 1.371 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.519e-05/0.1197, allocations: 0 / 396.3 MB, free: 1.371 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.876e-05/0.1197, allocations: 4 kB / 396.3 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/0.1198, allocations: 33.64 kB / 396.3 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.097e-05/0.1199, allocations: 23.95 kB / 396.4 MB, free: 1.305 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1199, allocations: 4 kB / 396.4 MB, free: 1.301 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1199, allocations: 0 / 396.4 MB, free: 1.301 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.1199, allocations: 0 / 396.4 MB, free: 1.301 MB / 286.1 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.0005916/0.1205, allocations: 351.4 kB / 396.7 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.1205, allocations: 8.031 kB / 396.7 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.981e-05/0.1206, allocations: 11.89 kB / 396.7 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.1209, allocations: 190.8 kB / 396.9 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.1209, allocations: 0 / 396.9 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.1209, allocations: 7.953 kB / 396.9 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003017/0.1212, allocations: 97.03 kB / 397 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1213, allocations: 4 kB / 397 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1213, allocations: 0 / 397 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.1213, allocations: 0 / 397 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.214e-05/0.1214, allocations: 11.94 kB / 397 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004763/0.1219, allocations: 265.8 kB / 397.3 MB, free: 220 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.509e-05/0.122, allocations: 45.16 kB / 397.3 MB, free: 156 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.122, allocations: 0 / 397.3 MB, free: 156 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.122, allocations: 34.56 kB / 397.4 MB, free: 112 kB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.122, allocations: 0 / 397.4 MB, free: 112 kB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002518/0.1223, allocations: 61.59 kB / 397.4 MB, free: 44 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.057e-05/0.1224, allocations: 81.09 kB / 397.5 MB, free: 15.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.1225, allocations: 134 kB / 397.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.1226, allocations: 33.7 kB / 397.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.217e-05/0.1227, allocations: 88.14 kB / 397.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.415e-06/0.1227, allocations: 0 / 397.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.1227, allocations: 3.938 kB / 397.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1228, allocations: 310.8 kB / 398.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.124e-05/0.1229, allocations: 7.984 kB / 398.1 MB, free: 15.35 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.931e-05/0.1229, allocations: 25.66 kB / 398.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.339e-05/0.123, allocations: 8.062 kB / 398.1 MB, free: 15.31 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.123, allocations: 3.953 kB / 398.1 MB, free: 15.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001099/0.1231, allocations: 53.59 kB / 398.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.1231, allocations: 4 kB / 398.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.1231, allocations: 0 / 398.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1231, allocations: 3.938 kB / 398.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.903e-05/0.1232, allocations: 4.062 kB / 398.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.1232, allocations: 4 kB / 398.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.665e-05/0.1232, allocations: 3.984 kB / 398.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1232, allocations: 3.938 kB / 398.2 MB, free: 15.23 MB / 302.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.1234, allocations: 125.6 kB / 398.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.65e-05/0.1234, allocations: 37.56 kB / 398.4 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.816e-05/0.1235, allocations: 15.52 kB / 398.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1235, allocations: 0 / 398.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.1235, allocations: 0 / 398.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1235, allocations: 4.031 kB / 398.4 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.1237, allocations: 157.7 kB / 398.5 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.1237, allocations: 7.984 kB / 398.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.647e-06/0.1237, allocations: 3.953 kB / 398.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1237, allocations: 3.938 kB / 398.5 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.1237, allocations: 0 / 398.5 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1238, allocations: 4 kB / 398.5 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1238, allocations: 0 / 398.5 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.1239, allocations: 166.1 kB / 398.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.017e-05/0.124, allocations: 93 kB / 398.8 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.124, allocations: 0 / 398.8 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.491e-05/0.1241, allocations: 4 kB / 398.8 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.1241, allocations: 0 / 398.8 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.1241, allocations: 0 / 398.8 MB, free: 14.51 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.211e-05/0.1242, allocations: 107.3 kB / 398.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.91e-07/0.1242, allocations: 0 / 398.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000244/0.1245, allocations: 4 kB / 398.9 MB, free: 14.4 MB / 302.1 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 (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.0001213/0.1246, allocations: 99.19 kB / 399 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001094/0.1247, allocations: 8 kB / 399 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1247, allocations: 4 kB / 399 MB, free: 14.28 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.442e-05/0.1248, allocations: 16.11 kB / 399 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.1251, allocations: 15.97 kB / 399.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002959/0.1254, allocations: 161.4 kB / 399.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.1256, allocations: 0.6887 MB / 399.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.123e-05/0.1257, allocations: 4.156 kB / 399.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.1257, allocations: 7.438 kB / 399.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1257, allocations: 0 / 399.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of Templates: time 0.002693/0.1284, allocations: 387.3 kB / 400.3 MB, free: 12.96 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/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