Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_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.001871/0.001872, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002178/0.002178, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 63.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3241, allocations: 50.53 MB / 408.7 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002633/0.3268, allocations: 1.44 MB / 410.2 MB, free: 112 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002607/0.3271, allocations: 87.75 kB / 410.3 MB, free: 24 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.405e-05/0.3272, allocations: 3.938 kB / 410.3 MB, free: 20 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.646e-05/0.3272, allocations: 7.984 kB / 410.3 MB, free: 12 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.911e-05/0.3273, allocations: 3.938 kB / 410.3 MB, free: 8 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003243/0.3276, allocations: 24 kB / 410.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.35e-05/0.3277, allocations: 16 kB / 410.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.634e-05/0.3278, allocations: 11.98 kB / 410.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.512e-05/0.3279, allocations: 15.94 kB / 410.4 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.284e-05/0.3279, allocations: 19.75 kB / 410.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.3279, allocations: 0 / 410.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-06/0.3279, allocations: 4 kB / 410.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.328, allocations: 4 kB / 410.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.627e-05/0.328, allocations: 19.88 kB / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.575e-05/0.3281, allocations: 23.91 kB / 410.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3281, allocations: 0 / 410.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3281, allocations: 0 / 410.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.3281, allocations: 0 / 410.4 MB, free: 15.87 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.0003936/0.3285, allocations: 349.1 kB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.3285, allocations: 8.031 kB / 410.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.551e-05/0.3286, allocations: 34.75 kB / 410.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.447e-05/0.3286, allocations: 4.938 kB / 410.8 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.3288, allocations: 176.3 kB / 411 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.3288, allocations: 4.359 kB / 411 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.3289, allocations: 4.375 kB / 411 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.3291, allocations: 111.8 kB / 411.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3292, allocations: 3.938 kB / 411.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.3292, allocations: 0 / 411.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3292, allocations: 0 / 411.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.227e-05/0.3292, allocations: 19.91 kB / 411.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001277/0.3294, allocations: 153.7 kB / 411.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.3295, allocations: 50.56 kB / 411.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.876e-05/0.3296, allocations: 20.92 kB / 411.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.3296, allocations: 0 / 411.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.3296, allocations: 42.5 kB / 411.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.3296, allocations: 0 / 411.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000185/0.3298, allocations: 65.61 kB / 411.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.3299, allocations: 55.41 kB / 411.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.797e-05/0.3299, allocations: 105.8 kB / 411.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.33, allocations: 25.7 kB / 411.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.348e-05/0.33, allocations: 84.12 kB / 411.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.616e-06/0.33, allocations: 7.938 kB / 411.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.33, allocations: 13.72 kB / 411.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3302, allocations: 318.8 kB / 412 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.192e-05/0.3302, allocations: 3.984 kB / 412.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.724e-05/0.3302, allocations: 35.38 kB / 412.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.692e-05/0.3302, allocations: 27.44 kB / 412.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3303, allocations: 3.938 kB / 412.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.37e-05/0.3303, allocations: 61.62 kB / 412.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3304, allocations: 10.91 kB / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3304, allocations: 4 kB / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.3304, allocations: 0 / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.849e-05/0.3304, allocations: 4 kB / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.3304, allocations: 0 / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.71e-05/0.3305, allocations: 0 / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.3305, allocations: 4 kB / 412.2 MB, free: 13.83 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: 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 6.98e-05/0.3305, allocations: 125.8 kB / 412.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.655e-05/0.3306, allocations: 53.62 kB / 412.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.3307, allocations: 7.5 kB / 412.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.3307, allocations: 0 / 412.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3307, allocations: 256 / 412.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.3307, allocations: 0 / 412.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.378e-05/0.3308, allocations: 165.5 kB / 412.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.3308, allocations: 0 / 412.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.942e-05/0.3308, allocations: 3.984 kB / 412.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3308, allocations: 7.938 kB / 412.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.3308, allocations: 8 kB / 412.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3308, allocations: 0 / 412.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3308, allocations: 0 / 412.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.331, allocations: 77.39 kB / 412.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.198e-05/0.331, allocations: 81.16 kB / 412.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.331, allocations: 11.86 kB / 412.7 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.1e-05/0.331, allocations: 3.984 kB / 412.7 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.044e-06/0.3311, allocations: 0 / 412.7 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.3311, allocations: 8 kB / 412.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.767e-05/0.3311, allocations: 79.28 kB / 412.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.673e-06/0.3311, allocations: 0 / 412.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001815/0.3313, allocations: 11.94 kB / 412.8 MB, free: 13.09 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: 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.0003487/0.3317, allocations: 0.6201 MB / 413.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.486e-05/0.3318, allocations: 19.98 kB / 413.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3318, allocations: 4 kB / 413.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.3318, allocations: 0 / 413.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.332, allocations: 19.5 kB / 413.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008427/0.3328, allocations: 1.143 MB / 414.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.3331, allocations: 0.6807 MB / 415.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.412e-05/0.3331, allocations: 3.906 kB / 415.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/0.3331, allocations: 11.44 kB / 415.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3331, allocations: 0 / 415.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.3494, allocations: 1.236 MB / 416.6 MB, free: 9.324 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.409/7.758, allocations: 7.047 kB / 416.6 MB, free: 9.32 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches