Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.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 4.0.0+maint.om/package.mo", uses=false) 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) 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.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.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.001282/0.001281, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.0009675/0.0009675, allocations: 183.6 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 223.2 MB / 241.1 MB, free: 5.453 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003459, allocations: 5.656 kB / 300.7 MB, free: 6.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1242, allocations: 50.43 MB / 351.1 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.00188/0.1262, allocations: 1.134 MB / 352.3 MB, free: 10.6 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000352/0.1266, allocations: 103.7 kB / 352.4 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.497e-05/0.1267, allocations: 0 / 352.4 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.303e-05/0.1267, allocations: 3.938 kB / 352.4 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.117e-05/0.1268, allocations: 7.984 kB / 352.4 MB, free: 10.49 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.1271, allocations: 12 kB / 352.4 MB, free: 10.48 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.896e-05/0.1272, allocations: 15.97 kB / 352.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.1273, allocations: 4 kB / 352.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.21e-05/0.1274, allocations: 15.92 kB / 352.4 MB, free: 10.44 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.481e-05/0.1274, allocations: 15.86 kB / 352.4 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.1274, allocations: 0 / 352.4 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.233e-05/0.1275, allocations: 4 kB / 352.5 MB, free: 10.42 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.1275, allocations: 4 kB / 352.5 MB, free: 10.42 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.565e-05/0.1275, allocations: 29.7 kB / 352.5 MB, free: 10.38 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.312e-05/0.1276, allocations: 15.97 kB / 352.5 MB, free: 10.37 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1276, allocations: 3.938 kB / 352.5 MB, free: 10.36 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.1276, allocations: 0 / 352.5 MB, free: 10.36 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.1277, allocations: 0 / 352.5 MB, free: 10.36 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006218/0.1283, allocations: 335.3 kB / 352.8 MB, free: 9.988 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.1284, allocations: 8.031 kB / 352.8 MB, free: 9.98 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.066e-05/0.1284, allocations: 11.95 kB / 352.9 MB, free: 9.969 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.1287, allocations: 178.9 kB / 353 MB, free: 9.754 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.1287, allocations: 0 / 353 MB, free: 9.754 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.1288, allocations: 4 kB / 353 MB, free: 9.75 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003678/0.1291, allocations: 103.3 kB / 353.1 MB, free: 9.637 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1292, allocations: 4 kB / 353.1 MB, free: 9.633 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.1292, allocations: 4 kB / 353.1 MB, free: 9.629 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.964e-06/0.1292, allocations: 0 / 353.1 MB, free: 9.629 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.425e-05/0.1293, allocations: 19.89 kB / 353.2 MB, free: 9.609 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002516/0.1295, allocations: 161.6 kB / 353.3 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.1297, allocations: 46.56 kB / 353.4 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.1298, allocations: 4 kB / 353.4 MB, free: 9.344 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.1298, allocations: 30.56 kB / 353.4 MB, free: 9.305 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.462e-06/0.1298, allocations: 0 / 353.4 MB, free: 9.305 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002876/0.1301, allocations: 69.97 kB / 353.5 MB, free: 9.23 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/0.1302, allocations: 63.39 kB / 353.5 MB, free: 9.156 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.1303, allocations: 97.86 kB / 353.6 MB, free: 9.051 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.1304, allocations: 33.69 kB / 353.7 MB, free: 9.012 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.802e-05/0.1304, allocations: 84.14 kB / 353.7 MB, free: 8.926 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.059e-05/0.1305, allocations: 0 / 353.7 MB, free: 8.926 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-06/0.1305, allocations: 4 kB / 353.7 MB, free: 8.922 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.1307, allocations: 314.8 kB / 354 MB, free: 8.605 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.288e-05/0.1307, allocations: 4 kB / 354.1 MB, free: 8.602 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.941e-05/0.1307, allocations: 31.42 kB / 354.1 MB, free: 8.559 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.757e-05/0.1308, allocations: 11.94 kB / 354.1 MB, free: 8.547 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1308, allocations: 0 / 354.1 MB, free: 8.547 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.258e-05/0.1309, allocations: 61.47 kB / 354.2 MB, free: 8.48 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.1309, allocations: 6.5 kB / 354.2 MB, free: 8.477 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1309, allocations: 0 / 354.2 MB, free: 8.477 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/0.131, allocations: 4 kB / 354.2 MB, free: 8.473 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.849e-05/0.131, allocations: 4.125 kB / 354.2 MB, free: 8.469 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.131, allocations: 4 kB / 354.2 MB, free: 8.465 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.538e-05/0.1311, allocations: 4 kB / 354.2 MB, free: 8.461 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.1311, allocations: 4 kB / 354.2 MB, free: 8.457 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001316/0.1312, allocations: 109.8 kB / 354.3 MB, free: 8.34 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.1313, allocations: 61.62 kB / 354.3 MB, free: 8.273 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.243e-05/0.1314, allocations: 7.484 kB / 354.4 MB, free: 8.258 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1314, allocations: 0 / 354.4 MB, free: 8.258 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.1314, allocations: 4 kB / 354.4 MB, free: 8.254 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.1314, allocations: 256 / 354.4 MB, free: 8.254 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.1316, allocations: 157.6 kB / 354.5 MB, free: 8.051 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.1316, allocations: 4 kB / 354.5 MB, free: 8.047 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.106e-05/0.1316, allocations: 4 kB / 354.5 MB, free: 8.043 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.1316, allocations: 0 / 354.5 MB, free: 8.043 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.1316, allocations: 0 / 354.5 MB, free: 8.043 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1316, allocations: 0 / 354.5 MB, free: 8.043 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1316, allocations: 0 / 354.5 MB, free: 8.043 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.1318, allocations: 96.91 kB / 354.6 MB, free: 7.93 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.888e-05/0.1319, allocations: 77.11 kB / 354.7 MB, free: 7.836 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.1319, allocations: 4 kB / 354.7 MB, free: 7.832 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.98e-05/0.1319, allocations: 7.938 kB / 354.7 MB, free: 7.824 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-06/0.132, allocations: 0 / 354.7 MB, free: 7.824 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.132, allocations: 0 / 354.7 MB, free: 7.824 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.967e-05/0.132, allocations: 83.27 kB / 354.8 MB, free: 7.742 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.132, allocations: 0 / 354.8 MB, free: 7.742 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002192/0.1323, allocations: 12 kB / 354.8 MB, free: 7.73 MB / 286.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 (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.0001898/0.1325, allocations: 95.25 kB / 354.9 MB, free: 7.625 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001463/0.1326, allocations: 27.92 kB / 354.9 MB, free: 7.598 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1326, allocations: 0 / 354.9 MB, free: 7.598 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.585e-06/0.1326, allocations: 0 / 354.9 MB, free: 7.598 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.1329, allocations: 23.89 kB / 354.9 MB, free: 7.574 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003285/0.1332, allocations: 120.9 kB / 355.1 MB, free: 7.426 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.1335, allocations: 0.6848 MB / 355.7 MB, free: 6.715 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.402e-05/0.1335, allocations: 4 kB / 355.7 MB, free: 6.711 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.046e-05/0.1336, allocations: 7.438 kB / 355.8 MB, free: 6.703 MB / 286.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1336, allocations: 0 / 355.8 MB, free: 6.703 MB / 286.1 MB Notification: Performance of Templates: time 0.002335/0.1359, allocations: 284.3 kB / 356 MB, free: 6.426 MB / 286.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches