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.001271/0.001271, allocations: 111.5 kB / 16.92 MB, free: 5.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.001255/0.001255, allocations: 191.3 kB / 17.85 MB, free: 5.172 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.373/1.373, allocations: 222.9 MB / 241.6 MB, free: 15.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 46 kB / 300.7 MB, free: 5.684 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1154, allocations: 49.45 MB / 350.2 MB, free: 4.23 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003525/0.119, allocations: 1.437 MB / 351.6 MB, free: 2.773 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002194/0.1192, allocations: 31.84 kB / 351.6 MB, free: 2.742 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.907e-05/0.1193, allocations: 0 / 351.6 MB, free: 2.742 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.734e-05/0.1194, allocations: 7.938 kB / 351.7 MB, free: 2.734 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.277e-05/0.1194, allocations: 3.938 kB / 351.7 MB, free: 2.73 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.1197, allocations: 23.97 kB / 351.7 MB, free: 2.707 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.587e-05/0.1198, allocations: 27.92 kB / 351.7 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.12, allocations: 19.92 kB / 351.7 MB, free: 2.66 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.449e-05/0.12, allocations: 11.98 kB / 351.7 MB, free: 2.648 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.827e-05/0.1201, allocations: 15.92 kB / 351.8 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.1201, allocations: 0 / 351.8 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.358e-05/0.1201, allocations: 4 kB / 351.8 MB, free: 2.629 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.268e-05/0.1201, allocations: 3.938 kB / 351.8 MB, free: 2.625 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.471e-05/0.1202, allocations: 11.94 kB / 351.8 MB, free: 2.613 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.1203, allocations: 39.88 kB / 351.8 MB, free: 2.574 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.1203, allocations: 4 kB / 351.8 MB, free: 2.57 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1203, allocations: 0 / 351.8 MB, free: 2.57 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1204, allocations: 0 / 351.8 MB, free: 2.57 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.0004694/0.1208, allocations: 347.7 kB / 352.2 MB, free: 2.18 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.1209, allocations: 8.031 kB / 352.2 MB, free: 2.172 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.889e-05/0.1209, allocations: 30.75 kB / 352.2 MB, free: 2.133 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.984e-05/0.121, allocations: 8.844 kB / 352.2 MB, free: 2.125 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.1211, allocations: 176.3 kB / 352.4 MB, free: 1.914 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.1212, allocations: 4.375 kB / 352.4 MB, free: 1.91 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.1212, allocations: 8.375 kB / 352.4 MB, free: 1.902 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003695/0.1216, allocations: 127.8 kB / 352.5 MB, free: 1.766 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1216, allocations: 3.938 kB / 352.5 MB, free: 1.762 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.1216, allocations: 0 / 352.5 MB, free: 1.762 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.1216, allocations: 0 / 352.5 MB, free: 1.762 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.1217, allocations: 23.98 kB / 352.5 MB, free: 1.738 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001613/0.1219, allocations: 161.6 kB / 352.7 MB, free: 1.531 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.1221, allocations: 58.55 kB / 352.8 MB, free: 1.465 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.464e-05/0.1222, allocations: 28.86 kB / 352.8 MB, free: 1.434 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.1222, allocations: 0 / 352.8 MB, free: 1.434 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.1222, allocations: 30.56 kB / 352.8 MB, free: 1.395 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1222, allocations: 0 / 352.8 MB, free: 1.395 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002828/0.1225, allocations: 85.58 kB / 352.9 MB, free: 1.305 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.1226, allocations: 63.41 kB / 353 MB, free: 1.23 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.672e-05/0.1227, allocations: 109.8 kB / 353.1 MB, free: 1.113 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.1227, allocations: 25.7 kB / 353.1 MB, free: 1.082 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.225e-05/0.1227, allocations: 80.14 kB / 353.2 MB, free: 1 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.1228, allocations: 7.984 kB / 353.2 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.1228, allocations: 13.72 kB / 353.2 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1229, allocations: 318.8 kB / 353.5 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.461e-05/0.1229, allocations: 4 kB / 353.5 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.393e-05/0.123, allocations: 39.42 kB / 353.5 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.342e-05/0.123, allocations: 31.38 kB / 353.6 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.123, allocations: 4 kB / 353.6 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001035/0.1232, allocations: 65.53 kB / 353.6 MB, free: 492 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1232, allocations: 11.94 kB / 353.7 MB, free: 480 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1232, allocations: 0 / 353.7 MB, free: 480 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.1232, allocations: 0 / 353.7 MB, free: 480 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.504e-05/0.1233, allocations: 8 kB / 353.7 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1233, allocations: 0 / 353.7 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.401e-05/0.1233, allocations: 7.938 kB / 353.7 MB, free: 464 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.1233, allocations: 3.938 kB / 353.7 MB, free: 460 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: 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 8.786e-05/0.1234, allocations: 122 kB / 353.8 MB, free: 328 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000242/0.1237, allocations: 65.61 kB / 353.9 MB, free: 256 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.1237, allocations: 7.906 kB / 353.9 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1237, allocations: 0 / 353.9 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1237, allocations: 0 / 353.9 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1237, allocations: 0 / 353.9 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.1239, allocations: 161.9 kB / 354 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1239, allocations: 0 / 354 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.653e-05/0.1239, allocations: 12 kB / 354 MB, free: 16 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.1239, allocations: 3.938 kB / 354 MB, free: 12 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.124, allocations: 4 kB / 354 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.124, allocations: 4 kB / 354 MB, free: 4 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.598e-05/0.124, allocations: 7.984 kB / 354.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.1242, allocations: 85.05 kB / 354.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/0.1242, allocations: 81.05 kB / 354.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.1242, allocations: 7.938 kB / 354.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.407e-05/0.1243, allocations: 7.984 kB / 354.2 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-06/0.1243, allocations: 0 / 354.2 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.1243, allocations: 4 kB / 354.2 MB, free: 15.78 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.393e-05/0.1243, allocations: 83.28 kB / 354.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1244, allocations: 0 / 354.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001834/0.1245, allocations: 8 kB / 354.3 MB, free: 15.69 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: 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.0005582/0.1251, allocations: 0.6551 MB / 355 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001409/0.1253, allocations: 35.98 kB / 355 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.1253, allocations: 0 / 355 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.11e-07/0.1253, allocations: 0 / 355 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.1256, allocations: 32.34 kB / 355 MB, free: 14.94 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.1268, allocations: 1.175 MB / 356.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.1271, allocations: 0.6846 MB / 356.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.634e-05/0.1272, allocations: 3.984 kB / 356.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.089e-05/0.1272, allocations: 19.38 kB / 356.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1272, allocations: 0 / 356.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/0.1455, allocations: 1.356 MB / 358.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.923/8.069, allocations: 0 / 358.3 MB, free: 11.67 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