Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 91.25 kB / 16.65 MB, free: 6.59 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.001957/0.001958, allocations: 184.5 kB / 17.56 MB, free: 6.203 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.746/1.746, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003282, allocations: 8 kB / 301.5 MB, free: 6.031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1374, allocations: 50.41 MB / 351.9 MB, free: 3.609 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002101/0.1395, allocations: 1.151 MB / 353.1 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003643/0.1399, allocations: 100.4 kB / 353.2 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.219e-05/0.1401, allocations: 0 / 353.2 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.47e-05/0.1401, allocations: 0 / 353.2 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.254e-05/0.1402, allocations: 3.938 kB / 353.2 MB, free: 2.344 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.1405, allocations: 31.28 kB / 353.2 MB, free: 2.316 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.1406, allocations: 23.92 kB / 353.2 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.1407, allocations: 11.98 kB / 353.3 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.388e-05/0.1408, allocations: 7.938 kB / 353.3 MB, free: 2.273 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.535e-05/0.1408, allocations: 19.91 kB / 353.3 MB, free: 2.254 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.1409, allocations: 0 / 353.3 MB, free: 2.254 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.134e-05/0.1409, allocations: 4 kB / 353.3 MB, free: 2.25 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.1409, allocations: 3.938 kB / 353.3 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.083e-05/0.141, allocations: 37.64 kB / 353.3 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.696e-05/0.1411, allocations: 23.89 kB / 353.4 MB, free: 2.18 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1411, allocations: 0 / 353.4 MB, free: 2.18 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1411, allocations: 0 / 353.4 MB, free: 2.18 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1411, allocations: 4 kB / 353.4 MB, free: 2.176 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.000462/0.1416, allocations: 335.7 kB / 353.7 MB, free: 1.797 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.1416, allocations: 12.03 kB / 353.7 MB, free: 1.785 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.147e-05/0.1417, allocations: 34.75 kB / 353.7 MB, free: 1.742 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.101e-05/0.1417, allocations: 8.844 kB / 353.7 MB, free: 1.734 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.1419, allocations: 176.3 kB / 353.9 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1419, allocations: 4.375 kB / 353.9 MB, free: 1.52 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.1419, allocations: 4.375 kB / 353.9 MB, free: 1.516 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003365/0.1423, allocations: 111.9 kB / 354 MB, free: 1.395 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1423, allocations: 3.938 kB / 354 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.1423, allocations: 0 / 354 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1423, allocations: 4 kB / 354 MB, free: 1.387 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.54e-05/0.1424, allocations: 23.98 kB / 354.1 MB, free: 1.363 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001694/0.1426, allocations: 157.6 kB / 354.2 MB, free: 1.16 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.1428, allocations: 62.55 kB / 354.3 MB, free: 1.09 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.559e-05/0.1429, allocations: 28.86 kB / 354.3 MB, free: 1.059 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.1429, allocations: 0 / 354.3 MB, free: 1.059 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.1429, allocations: 30.56 kB / 354.3 MB, free: 1.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 2.835e-06/0.1429, allocations: 4 kB / 354.3 MB, free: 1.016 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002535/0.1432, allocations: 81.55 kB / 354.4 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.1433, allocations: 55.41 kB / 354.5 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.181e-05/0.1434, allocations: 105.8 kB / 354.6 MB, free: 0.75 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.1434, allocations: 29.7 kB / 354.6 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.571e-05/0.1434, allocations: 84.14 kB / 354.7 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.214e-05/0.1435, allocations: 3.984 kB / 354.7 MB, free: 0.625 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/0.1435, allocations: 13.66 kB / 354.7 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1436, allocations: 318.8 kB / 355 MB, free: 292 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.04e-05/0.1436, allocations: 4 kB / 355 MB, free: 288 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.001e-05/0.1437, allocations: 27.42 kB / 355 MB, free: 248 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.71e-05/0.1437, allocations: 39.31 kB / 355.1 MB, free: 196 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1437, allocations: 4 kB / 355.1 MB, free: 192 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.496e-05/0.1438, allocations: 53.62 kB / 355.1 MB, free: 132 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.1438, allocations: 7.938 kB / 355.1 MB, free: 124 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1438, allocations: 4 kB / 355.2 MB, free: 120 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.1439, allocations: 0 / 355.2 MB, free: 120 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.633e-05/0.1439, allocations: 4 kB / 355.2 MB, free: 116 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.1439, allocations: 7.984 kB / 355.2 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.815e-05/0.144, allocations: 12.09 kB / 355.2 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.144, allocations: 12.06 kB / 355.2 MB, free: 84 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001118/0.1441, allocations: 109.8 kB / 355.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.1442, allocations: 69.89 kB / 355.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.803e-05/0.1443, allocations: 3.953 kB / 355.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1443, allocations: 3.984 kB / 355.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1443, allocations: 0 / 355.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1443, allocations: 0 / 355.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.1444, allocations: 157.7 kB / 355.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.1444, allocations: 8 kB / 355.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.452e-05/0.1445, allocations: 4 kB / 355.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.1445, allocations: 7.938 kB / 355.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.1445, allocations: 0 / 355.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1445, allocations: 0 / 355.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.1446, allocations: 3.938 kB / 355.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.1447, allocations: 93.02 kB / 355.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.744e-05/0.1448, allocations: 77.11 kB / 355.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.1448, allocations: 7.938 kB / 355.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.702e-05/0.1448, allocations: 11.92 kB / 355.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-06/0.1449, allocations: 0 / 355.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.1449, allocations: 4 kB / 355.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.285e-05/0.1449, allocations: 79.28 kB / 355.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1449, allocations: 0 / 355.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001961/0.1451, allocations: 8 kB / 355.8 MB, free: 15.34 MB / 302.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.0004814/0.1456, allocations: 0.6279 MB / 356.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001285/0.1457, allocations: 28.17 kB / 356.5 MB, free: 14.65 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1458, allocations: 0 / 356.5 MB, free: 14.65 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.236e-06/0.1458, allocations: 3.938 kB / 356.5 MB, free: 14.65 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.146, allocations: 23.98 kB / 356.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009915/0.147, allocations: 1.169 MB / 357.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.1473, allocations: 0.6809 MB / 358.4 MB, free: 12.65 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.388e-05/0.1473, allocations: 0 / 358.4 MB, free: 12.65 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.211e-05/0.1473, allocations: 11.42 kB / 358.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1474, allocations: 0 / 358.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01132/0.1587, allocations: 1.036 MB / 359.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/0.1589, allocations: 227.3 kB / 359.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.041/2.2, allocations: 0 / 359.6 MB, free: 11.5 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches