Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002029/0.002029, allocations: 108.4 kB / 16.45 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002115/0.002115, allocations: 193.4 kB / 17.39 MB, free: 5.688 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.65/1.65, allocations: 205.1 MB / 223.3 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07863/0.07863, allocations: 12.59 MB / 283.2 MB, free: 15.38 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.002115/0.002115, allocations: 85.55 kB / 394.2 MB, free: 45.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1252, allocations: 49.42 MB / 443.6 MB, free: 484 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.003682/0.129, allocations: 1.42 MB / 445 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003499/0.1293, allocations: 97.38 kB / 445.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.749e-05/0.1295, allocations: 4 kB / 445.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.585e-05/0.1295, allocations: 3.938 kB / 445.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.373e-05/0.1296, allocations: 3.938 kB / 445.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.1299, allocations: 23.97 kB / 445.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.762e-05/0.13, allocations: 27.86 kB / 445.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.1301, allocations: 8 kB / 445.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.828e-05/0.1302, allocations: 7.984 kB / 445.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.033e-05/0.1302, allocations: 11.94 kB / 445.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.1303, allocations: 8 kB / 445.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.008e-05/0.1303, allocations: 0 / 445.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.697e-05/0.1303, allocations: 11.92 kB / 445.2 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.691e-05/0.1304, allocations: 15.92 kB / 445.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.1305, allocations: 19.92 kB / 445.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1305, allocations: 3.938 kB / 445.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1305, allocations: 0 / 445.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1305, allocations: 0 / 445.2 MB, free: 14.8 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00051/0.131, allocations: 335.5 kB / 445.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.1311, allocations: 11.97 kB / 445.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.1311, allocations: 12.84 kB / 445.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.1315, allocations: 176.3 kB / 445.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.1315, allocations: 384 / 445.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.1315, allocations: 4.375 kB / 445.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.1318, allocations: 103.9 kB / 445.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1319, allocations: 4.188 kB / 445.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1319, allocations: 3.938 kB / 445.9 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1319, allocations: 0 / 445.9 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.505e-05/0.132, allocations: 15.98 kB / 445.9 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/0.1322, allocations: 157.7 kB / 446 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.1323, allocations: 50.53 kB / 446.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.61e-05/0.1324, allocations: 20.89 kB / 446.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.1324, allocations: 4 kB / 446.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.1324, allocations: 30.56 kB / 446.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.949e-06/0.1325, allocations: 4 kB / 446.2 MB, free: 13.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.00024/0.1327, allocations: 77.58 kB / 446.2 MB, free: 13.63 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/0.1328, allocations: 51.41 kB / 446.3 MB, free: 13.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.1329, allocations: 101.9 kB / 446.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.1329, allocations: 25.7 kB / 446.4 MB, free: 13.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.753e-05/0.133, allocations: 92.12 kB / 446.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.427e-06/0.133, allocations: 0 / 446.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.133, allocations: 17.72 kB / 446.5 MB, free: 13.31 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1332, allocations: 314.8 kB / 446.8 MB, free: 13 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.588e-05/0.1332, allocations: 3.984 kB / 446.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.235e-05/0.1332, allocations: 31.42 kB / 446.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.865e-05/0.1333, allocations: 39.38 kB / 446.9 MB, free: 12.9 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1333, allocations: 0 / 446.9 MB, free: 12.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.454e-05/0.1334, allocations: 53.62 kB / 446.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.1334, allocations: 4 kB / 446.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1334, allocations: 8.062 kB / 447 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.1335, allocations: 4 kB / 447 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.1335, allocations: 3.938 kB / 447 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1335, allocations: 4 kB / 447 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.237e-05/0.1336, allocations: 0 / 447 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.1336, allocations: 4 kB / 447 MB, free: 12.81 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 0.0001027/0.1337, allocations: 113.8 kB / 447.1 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.1338, allocations: 53.59 kB / 447.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.717e-05/0.1338, allocations: 19.38 kB / 447.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1339, allocations: 4 kB / 447.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1339, allocations: 0 / 447.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1339, allocations: 0 / 447.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.134, allocations: 157.6 kB / 447.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.134, allocations: 0 / 447.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.418e-05/0.1341, allocations: 3.984 kB / 447.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1341, allocations: 0 / 447.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.1341, allocations: 7.938 kB / 447.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1341, allocations: 0 / 447.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1341, allocations: 256 / 447.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.1343, allocations: 77.12 kB / 447.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.692e-05/0.1343, allocations: 85.02 kB / 447.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.1343, allocations: 15.86 kB / 447.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.995e-05/0.1344, allocations: 0 / 447.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-06/0.1344, allocations: 0 / 447.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.1344, allocations: 0 / 447.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.381e-05/0.1345, allocations: 83.28 kB / 447.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1345, allocations: 0 / 447.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002115/0.1347, allocations: 8 kB / 447.6 MB, free: 12.09 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 0.0001815/0.1349, allocations: 99.19 kB / 447.7 MB, free: 11.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001709/0.135, allocations: 23.98 kB / 447.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.1351, allocations: 0 / 447.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.1351, allocations: 0 / 447.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.1354, allocations: 27.86 kB / 447.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003929/0.1358, allocations: 113.9 kB / 447.8 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.1361, allocations: 0.6807 MB / 448.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.095e-05/0.1362, allocations: 0 / 448.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.1362, allocations: 7.438 kB / 448.5 MB, free: 11.08 MB / 334.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1362, allocations: 0 / 448.5 MB, free: 11.08 MB / 334.1 MB Notification: Performance of Templates: time 0.002631/0.1389, allocations: 317 kB / 448.8 MB, free: 10.77 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches