Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001371/0.001371, allocations: 118.8 kB / 17.79 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001755/0.001755, allocations: 197.2 kB / 18.73 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.593/1.593, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 55.91 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3779, allocations: 50.55 MB / 408.8 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.004241/0.3822, allocations: 1.475 MB / 410.2 MB, free: 40 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004001/0.3827, allocations: 91.73 kB / 410.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.049e-05/0.3828, allocations: 4 kB / 410.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.3829, allocations: 3.938 kB / 410.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.363e-05/0.3829, allocations: 7.922 kB / 410.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.3832, allocations: 19.98 kB / 410.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.3834, allocations: 27.86 kB / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.3835, allocations: 19.98 kB / 410.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.052e-05/0.3836, allocations: 0 / 410.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.062e-05/0.3837, allocations: 15.92 kB / 410.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.3837, allocations: 4 kB / 410.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.091e-05/0.3837, allocations: 0 / 410.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.053e-05/0.3837, allocations: 11.94 kB / 410.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.21e-05/0.3838, allocations: 11.88 kB / 410.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.3839, allocations: 27.89 kB / 410.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3839, allocations: 0 / 410.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.498e-06/0.3839, allocations: 3.984 kB / 410.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.384, allocations: 0 / 410.5 MB, free: 15.79 MB / 334.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.0005799/0.3845, allocations: 345.2 kB / 410.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.3846, allocations: 8.031 kB / 410.8 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.965e-05/0.3847, allocations: 30.75 kB / 410.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.3847, allocations: 8.844 kB / 410.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.3851, allocations: 180.3 kB / 411 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.3851, allocations: 4.375 kB / 411.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.3851, allocations: 4.312 kB / 411.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000391/0.3855, allocations: 107.9 kB / 411.2 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.3855, allocations: 3.938 kB / 411.2 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.3856, allocations: 3.938 kB / 411.2 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.3856, allocations: 7.922 kB / 411.2 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.663e-05/0.3857, allocations: 15.98 kB / 411.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002753/0.386, allocations: 161.7 kB / 411.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.3861, allocations: 50.59 kB / 411.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.221e-05/0.3862, allocations: 20.89 kB / 411.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.382e-05/0.3863, allocations: 8 kB / 411.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.3863, allocations: 30.56 kB / 411.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 4.758e-06/0.3863, allocations: 4 kB / 411.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000267/0.3866, allocations: 77.45 kB / 411.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7e-05/0.3867, allocations: 55.39 kB / 411.6 MB, free: 14.49 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.3868, allocations: 105.9 kB / 411.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.3868, allocations: 25.7 kB / 411.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.958e-05/0.3869, allocations: 92.12 kB / 411.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.027e-05/0.3869, allocations: 0 / 411.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.3869, allocations: 13.72 kB / 411.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3871, allocations: 318.8 kB / 412.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.131e-05/0.3871, allocations: 4 kB / 412.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.585e-05/0.3872, allocations: 35.36 kB / 412.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.619e-05/0.3872, allocations: 31.44 kB / 412.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.3872, allocations: 0 / 412.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001183/0.3874, allocations: 57.56 kB / 412.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.3874, allocations: 11.94 kB / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.3874, allocations: 0 / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.3875, allocations: 0 / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.342e-05/0.3875, allocations: 8 kB / 412.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.3876, allocations: 3.984 kB / 412.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.573e-05/0.3876, allocations: 4.125 kB / 412.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.3876, allocations: 4 kB / 412.3 MB, free: 13.73 MB / 334.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: 0 () * 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.0001264/0.3877, allocations: 121.8 kB / 412.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.3879, allocations: 61.47 kB / 412.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.283e-05/0.3879, allocations: 7.906 kB / 412.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.388, allocations: 0 / 412.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.388, allocations: 7.938 kB / 412.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.388, allocations: 0 / 412.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.3881, allocations: 157.7 kB / 412.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3881, allocations: 4 kB / 412.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.473e-05/0.3882, allocations: 4 kB / 412.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.568e-05/0.3882, allocations: 7.938 kB / 412.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.3883, allocations: 0 / 412.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3883, allocations: 0 / 412.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3883, allocations: 0 / 412.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.3884, allocations: 89.36 kB / 412.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-05/0.3885, allocations: 92.89 kB / 412.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.3886, allocations: 11.92 kB / 412.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.284e-05/0.3886, allocations: 0 / 412.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-06/0.3886, allocations: 0 / 412.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.3886, allocations: 256 / 412.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.988e-05/0.3887, allocations: 91.28 kB / 412.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3887, allocations: 0 / 412.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002272/0.3889, allocations: 0 / 412.9 MB, free: 12.97 MB / 334.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: 0 () * 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.0007309/0.3897, allocations: 0.6241 MB / 413.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001667/0.3898, allocations: 23.92 kB / 413.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3899, allocations: 0 / 413.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.3899, allocations: 0 / 413.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.3901, allocations: 24.22 kB / 413.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.3913, allocations: 1.154 MB / 414.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.3916, allocations: 0.6768 MB / 415.4 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.247e-05/0.3916, allocations: 8.25 kB / 415.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.172e-05/0.3917, allocations: 11.44 kB / 415.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3917, allocations: 0 / 415.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01993/0.4116, allocations: 1.255 MB / 416.7 MB, free: 9.148 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.331/8.743, allocations: 8.75 kB / 416.7 MB, free: 9.141 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches