Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",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.001259/0.001258, allocations: 109.5 kB / 16.51 MB, free: 6.715 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.00141/0.00141, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.588/1.588, allocations: 222.9 MB / 241.1 MB, free: 15.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 46.58 kB / 300.1 MB, free: 6.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1324, allocations: 49.44 MB / 349.5 MB, free: 4.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003528/0.136, allocations: 1.511 MB / 351 MB, free: 3.211 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002522/0.1363, allocations: 31.86 kB / 351 MB, free: 3.18 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.845e-05/0.1364, allocations: 0 / 351 MB, free: 3.18 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.392e-05/0.1365, allocations: 0 / 351 MB, free: 3.18 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.924e-05/0.1366, allocations: 11.92 kB / 351.1 MB, free: 3.168 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.1369, allocations: 23.92 kB / 351.1 MB, free: 3.145 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.137, allocations: 31.86 kB / 351.1 MB, free: 3.113 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.1372, allocations: 7.984 kB / 351.1 MB, free: 3.105 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.65e-05/0.1372, allocations: 8 kB / 351.1 MB, free: 3.098 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.577e-05/0.1373, allocations: 15.92 kB / 351.1 MB, free: 3.082 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.1373, allocations: 0 / 351.1 MB, free: 3.082 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.447e-05/0.1374, allocations: 7.938 kB / 351.2 MB, free: 3.074 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.306e-05/0.1374, allocations: 0 / 351.2 MB, free: 3.074 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.821e-05/0.1375, allocations: 19.92 kB / 351.2 MB, free: 3.055 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.1376, allocations: 31.89 kB / 351.2 MB, free: 3.023 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.1376, allocations: 0 / 351.2 MB, free: 3.023 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1376, allocations: 0 / 351.2 MB, free: 3.023 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.1377, allocations: 0 / 351.2 MB, free: 3.023 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.0005877/0.1382, allocations: 351.7 kB / 351.5 MB, free: 2.629 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.617e-05/0.1383, allocations: 8.031 kB / 351.6 MB, free: 2.621 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.55e-05/0.1384, allocations: 30.75 kB / 351.6 MB, free: 2.582 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.799e-05/0.1384, allocations: 8.844 kB / 351.6 MB, free: 2.574 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.1387, allocations: 180.3 kB / 351.8 MB, free: 2.359 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.88e-05/0.1388, allocations: 4.375 kB / 351.8 MB, free: 2.355 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.1388, allocations: 4.375 kB / 351.8 MB, free: 2.352 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004238/0.1392, allocations: 119.8 kB / 351.9 MB, free: 2.223 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1393, allocations: 3.938 kB / 351.9 MB, free: 2.219 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1393, allocations: 0 / 351.9 MB, free: 2.219 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1393, allocations: 0 / 351.9 MB, free: 2.219 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.1394, allocations: 27.97 kB / 351.9 MB, free: 2.191 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000192/0.1396, allocations: 161.6 kB / 352.1 MB, free: 1.984 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.1398, allocations: 62.5 kB / 352.1 MB, free: 1.914 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.47e-05/0.1399, allocations: 24.89 kB / 352.2 MB, free: 1.887 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.1399, allocations: 3.984 kB / 352.2 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.14, allocations: 34.56 kB / 352.2 MB, free: 1.84 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.14, allocations: 3.938 kB / 352.2 MB, free: 1.836 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003336/0.1403, allocations: 85.59 kB / 352.3 MB, free: 1.746 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.1404, allocations: 59.34 kB / 352.4 MB, free: 1.676 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.1405, allocations: 101.8 kB / 352.5 MB, free: 1.566 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.1405, allocations: 29.7 kB / 352.5 MB, free: 1.531 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.25e-05/0.1406, allocations: 84.14 kB / 352.6 MB, free: 1.445 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.1406, allocations: 0 / 352.6 MB, free: 1.445 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.1407, allocations: 17.72 kB / 352.6 MB, free: 1.422 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1408, allocations: 318.8 kB / 352.9 MB, free: 1.102 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.861e-05/0.1408, allocations: 8 kB / 352.9 MB, free: 1.094 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.155e-05/0.1409, allocations: 23.44 kB / 352.9 MB, free: 1.059 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.214e-05/0.1409, allocations: 43.31 kB / 353 MB, free: 1.004 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1409, allocations: 0 / 353 MB, free: 1.004 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001095/0.1411, allocations: 65.53 kB / 353 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.1411, allocations: 14.59 kB / 353 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1411, allocations: 0 / 353 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.1411, allocations: 0 / 353 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.409e-05/0.1412, allocations: 15.92 kB / 353.1 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1412, allocations: 0 / 353.1 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.484e-05/0.1413, allocations: 4 kB / 353.1 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.1413, allocations: 4.125 kB / 353.1 MB, free: 0.8984 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: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001049/0.1414, allocations: 113.8 kB / 353.2 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/0.1416, allocations: 65.61 kB / 353.2 MB, free: 0.707 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.082e-05/0.1417, allocations: 7.906 kB / 353.2 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1417, allocations: 0 / 353.2 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.1417, allocations: 0 / 353.2 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.1417, allocations: 3.984 kB / 353.3 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.1419, allocations: 158 kB / 353.4 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1419, allocations: 0 / 353.4 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.719e-05/0.142, allocations: 23.92 kB / 353.4 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.142, allocations: 3.938 kB / 353.4 MB, free: 468 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.142, allocations: 0 / 353.4 MB, free: 468 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.142, allocations: 4 kB / 353.4 MB, free: 464 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.142, allocations: 0 / 353.4 MB, free: 464 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.1422, allocations: 85.11 kB / 353.5 MB, free: 360 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-05/0.1423, allocations: 85.31 kB / 353.6 MB, free: 256 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.1423, allocations: 7.938 kB / 353.6 MB, free: 248 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.817e-05/0.1424, allocations: 8 kB / 353.6 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.881e-06/0.1424, allocations: 0 / 353.6 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.1424, allocations: 7.984 kB / 353.6 MB, free: 232 kB / 286.1 MB Notification: Performance of sorting global known variables: time 8.246e-05/0.1425, allocations: 83.27 kB / 353.7 MB, free: 148 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1425, allocations: 0 / 353.7 MB, free: 148 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.000203/0.1427, allocations: 11.94 kB / 353.7 MB, free: 136 kB / 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: 1 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0007716/0.1435, allocations: 0.6551 MB / 354.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001814/0.1437, allocations: 39.91 kB / 354.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1437, allocations: 0 / 354.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.1437, allocations: 0 / 354.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004447/0.1442, allocations: 28.02 kB / 354.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.1457, allocations: 1.179 MB / 355.6 MB, free: 14.1 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.1462, allocations: 0.6809 MB / 356.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.429e-05/0.1462, allocations: 4 kB / 356.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.084e-05/0.1463, allocations: 11.38 kB / 356.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1463, allocations: 4 kB / 356.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01641/0.1627, allocations: 1.222 MB / 357.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003375/0.1631, allocations: 219.2 kB / 357.8 MB, free: 12.01 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.029/2.192, allocations: 3.75 kB / 357.8 MB, free: 12.01 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches