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.001088/0.001088, allocations: 106.7 kB / 16.92 MB, free: 6.184 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.00106/0.00106, allocations: 191.5 kB / 17.85 MB, free: 5.328 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.526/1.526, allocations: 222.9 MB / 241.5 MB, free: 15.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002179, allocations: 47.27 kB / 300.7 MB, free: 5.805 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1422, allocations: 49.44 MB / 350.2 MB, free: 4.352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003212/0.1455, allocations: 1.417 MB / 351.6 MB, free: 2.914 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002964/0.1458, allocations: 97.16 kB / 351.7 MB, free: 2.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.648e-05/0.1459, allocations: 7.938 kB / 351.7 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.346e-05/0.1459, allocations: 0 / 351.7 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.649e-05/0.146, allocations: 7.922 kB / 351.7 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.1462, allocations: 19.92 kB / 351.7 MB, free: 2.785 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.747e-05/0.1463, allocations: 27.92 kB / 351.7 MB, free: 2.758 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.1465, allocations: 19.97 kB / 351.8 MB, free: 2.738 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.351e-05/0.1465, allocations: 11.94 kB / 351.8 MB, free: 2.727 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.327e-05/0.1465, allocations: 7.938 kB / 351.8 MB, free: 2.719 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.1466, allocations: 4 kB / 351.8 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.689e-06/0.1466, allocations: 0 / 351.8 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.722e-05/0.1466, allocations: 15.92 kB / 351.8 MB, free: 2.699 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.395e-05/0.1467, allocations: 7.938 kB / 351.8 MB, free: 2.691 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.1468, allocations: 27.89 kB / 351.8 MB, free: 2.664 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1468, allocations: 0 / 351.8 MB, free: 2.664 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1468, allocations: 0 / 351.8 MB, free: 2.664 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.1468, allocations: 4 kB / 351.8 MB, free: 2.66 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.0005084/0.1473, allocations: 343.7 kB / 352.2 MB, free: 2.273 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.1474, allocations: 12.02 kB / 352.2 MB, free: 2.262 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.628e-05/0.1474, allocations: 30.75 kB / 352.2 MB, free: 2.223 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.1475, allocations: 12.78 kB / 352.2 MB, free: 2.211 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.1477, allocations: 172.4 kB / 352.4 MB, free: 2.004 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1477, allocations: 4.312 kB / 352.4 MB, free: 2 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.1478, allocations: 4.375 kB / 352.4 MB, free: 1.996 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003382/0.1481, allocations: 111.8 kB / 352.5 MB, free: 1.875 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1481, allocations: 7.938 kB / 352.5 MB, free: 1.867 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.1481, allocations: 0 / 352.5 MB, free: 1.867 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1481, allocations: 0 / 352.5 MB, free: 1.867 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.974e-05/0.1482, allocations: 15.98 kB / 352.5 MB, free: 1.852 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.1484, allocations: 165.7 kB / 352.7 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.1486, allocations: 50.55 kB / 352.8 MB, free: 1.582 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.456e-05/0.1487, allocations: 24.83 kB / 352.8 MB, free: 1.555 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.1487, allocations: 7.969 kB / 352.8 MB, free: 1.547 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.1487, allocations: 30.56 kB / 352.8 MB, free: 1.508 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 2.795e-06/0.1487, allocations: 8 kB / 352.8 MB, free: 1.5 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002495/0.149, allocations: 69.61 kB / 352.9 MB, free: 1.426 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.149, allocations: 51.41 kB / 352.9 MB, free: 1.363 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.171e-05/0.1491, allocations: 109.8 kB / 353 MB, free: 1.246 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1492, allocations: 25.7 kB / 353.1 MB, free: 1.215 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.113e-05/0.1492, allocations: 84.14 kB / 353.2 MB, free: 1.129 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.078e-05/0.1492, allocations: 4 kB / 353.2 MB, free: 1.125 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.1493, allocations: 17.72 kB / 353.2 MB, free: 1.102 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1494, allocations: 318.8 kB / 353.5 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.371e-05/0.1494, allocations: 7.938 kB / 353.5 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.836e-05/0.1495, allocations: 23.44 kB / 353.5 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.923e-05/0.1495, allocations: 39.38 kB / 353.6 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1495, allocations: 0 / 353.6 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001064/0.1497, allocations: 57.53 kB / 353.6 MB, free: 0.625 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.1497, allocations: 7.938 kB / 353.6 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1497, allocations: 4 kB / 353.6 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.1497, allocations: 288 / 353.6 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.536e-05/0.1498, allocations: 11.98 kB / 353.6 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1498, allocations: 0 / 353.6 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.03e-05/0.1498, allocations: 8.062 kB / 353.6 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.1498, allocations: 4 kB / 353.6 MB, free: 0.5898 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.242e-05/0.1499, allocations: 117.8 kB / 353.8 MB, free: 476 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.15, allocations: 57.61 kB / 353.8 MB, free: 412 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/0.1501, allocations: 11.89 kB / 353.8 MB, free: 392 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1501, allocations: 0 / 353.8 MB, free: 392 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1501, allocations: 4 kB / 353.8 MB, free: 388 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1501, allocations: 0 / 353.8 MB, free: 388 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.456e-05/0.1502, allocations: 157.7 kB / 354 MB, free: 180 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1502, allocations: 3.938 kB / 354 MB, free: 176 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.981e-05/0.1502, allocations: 7.984 kB / 354 MB, free: 168 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.1503, allocations: 7.938 kB / 354 MB, free: 160 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.1503, allocations: 256 / 354 MB, free: 160 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1503, allocations: 4 kB / 354 MB, free: 156 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1503, allocations: 0 / 354 MB, free: 156 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.1504, allocations: 96.89 kB / 354.1 MB, free: 40 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/0.1505, allocations: 81.11 kB / 354.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.1505, allocations: 3.938 kB / 354.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.44e-05/0.1505, allocations: 4 kB / 354.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-06/0.1506, allocations: 0 / 354.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.1506, allocations: 4 kB / 354.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.217e-05/0.1506, allocations: 87.27 kB / 354.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1506, allocations: 0 / 354.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002036/0.1508, allocations: 0 / 354.3 MB, free: 15.84 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.0004371/0.1513, allocations: 0.6357 MB / 354.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001264/0.1514, allocations: 23.98 kB / 354.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1514, allocations: 3.938 kB / 354.9 MB, free: 15.15 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.1514, allocations: 0 / 354.9 MB, free: 15.15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.1517, allocations: 27.05 kB / 355 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.1527, allocations: 1.149 MB / 356.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.1531, allocations: 0.6885 MB / 356.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.324e-05/0.1532, allocations: 0 / 356.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.68e-05/0.1532, allocations: 15.42 kB / 356.8 MB, free: 13.15 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1532, allocations: 0 / 356.8 MB, free: 13.15 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02156/0.1748, allocations: 1.214 MB / 358 MB, free: 12.05 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.35/8.524, allocations: 3.625 kB / 358 MB, free: 12.05 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