Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001157/0.001157, allocations: 102.1 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001365/0.001365, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 61.41 kB / 306.4 MB, free: 0.9648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0978/0.09897, allocations: 50.52 MB / 356.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002329/0.1013, allocations: 1.511 MB / 358.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002244/0.1016, allocations: 87.75 kB / 358.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.133e-05/0.1016, allocations: 0 / 358.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.737e-05/0.1017, allocations: 0 / 358.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.209e-05/0.1017, allocations: 15.92 kB / 358.5 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.1019, allocations: 23.48 kB / 358.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.191e-05/0.102, allocations: 23.86 kB / 358.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.871e-05/0.1021, allocations: 11.98 kB / 358.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.634e-05/0.1021, allocations: 7.984 kB / 358.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.957e-05/0.1022, allocations: 15.92 kB / 358.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.1022, allocations: 0 / 358.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.187e-05/0.1022, allocations: 4 kB / 358.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.1022, allocations: 3.938 kB / 358.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.003e-05/0.1023, allocations: 11.94 kB / 358.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.112e-05/0.1023, allocations: 27.91 kB / 358.6 MB, free: 12.69 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.1024, allocations: 3.984 kB / 358.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.52e-07/0.1024, allocations: 0 / 358.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.1024, allocations: 0 / 358.6 MB, free: 12.68 MB / 302.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.0003386/0.1027, allocations: 343.7 kB / 359 MB, free: 12.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.1028, allocations: 8.031 kB / 359 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.912e-05/0.1028, allocations: 34.69 kB / 359 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.088e-05/0.1028, allocations: 8.844 kB / 359 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.103, allocations: 180.3 kB / 359.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.103, allocations: 8.375 kB / 359.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.754e-06/0.103, allocations: 384 / 359.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.1033, allocations: 107.9 kB / 359.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.1033, allocations: 3.938 kB / 359.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.1033, allocations: 0 / 359.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.1033, allocations: 0 / 359.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.604e-05/0.1034, allocations: 27.92 kB / 359.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001119/0.1035, allocations: 157.6 kB / 359.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.1037, allocations: 54.58 kB / 359.5 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.262e-05/0.1037, allocations: 20.89 kB / 359.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.1037, allocations: 0 / 359.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.1038, allocations: 38.56 kB / 359.6 MB, free: 11.53 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1038, allocations: 0 / 359.6 MB, free: 11.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001875/0.104, allocations: 73.55 kB / 359.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.104, allocations: 51.41 kB / 359.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.943e-05/0.1041, allocations: 105.8 kB / 359.8 MB, free: 11.28 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.1041, allocations: 33.64 kB / 359.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.1041, allocations: 84.14 kB / 359.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.094e-06/0.1042, allocations: 7.984 kB / 359.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.1042, allocations: 17.72 kB / 360 MB, free: 11.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.936e-05/0.1043, allocations: 310.8 kB / 360.3 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.27e-05/0.1043, allocations: 8 kB / 360.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.332e-05/0.1043, allocations: 27.42 kB / 360.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.826e-05/0.1044, allocations: 35.38 kB / 360.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1044, allocations: 0 / 360.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.64e-05/0.1044, allocations: 57.53 kB / 360.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1045, allocations: 11.94 kB / 360.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1045, allocations: 3.938 kB / 360.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.1045, allocations: 4.125 kB / 360.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.476e-05/0.1045, allocations: 8 kB / 360.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1046, allocations: 0 / 360.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.923e-05/0.1046, allocations: 8.219 kB / 360.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-06/0.1046, allocations: 0 / 360.4 MB, free: 10.62 MB / 302.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.95e-05/0.1047, allocations: 122 kB / 360.5 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.884e-05/0.1048, allocations: 65.61 kB / 360.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.309e-05/0.1048, allocations: 7.844 kB / 360.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1048, allocations: 8 kB / 360.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1048, allocations: 0 / 360.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.1048, allocations: 0 / 360.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.516e-05/0.1049, allocations: 157.7 kB / 360.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1049, allocations: 0 / 360.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.67e-05/0.105, allocations: 8 kB / 360.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.105, allocations: 7.875 kB / 360.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.105, allocations: 0 / 360.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.105, allocations: 0 / 360.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.105, allocations: 0 / 360.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.1051, allocations: 89.02 kB / 360.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.433e-05/0.1051, allocations: 81.11 kB / 361 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.1052, allocations: 7.922 kB / 361 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.371e-05/0.1052, allocations: 4 kB / 361 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-06/0.1052, allocations: 0 / 361 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.1052, allocations: 4 kB / 361 MB, free: 9.957 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.516e-05/0.1053, allocations: 83.22 kB / 361.1 MB, free: 9.875 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1053, allocations: 0 / 361.1 MB, free: 9.875 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001769/0.1054, allocations: 12 kB / 361.1 MB, free: 9.863 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.0003399/0.1058, allocations: 0.6201 MB / 361.7 MB, free: 9.215 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.136e-05/0.1059, allocations: 31.86 kB / 361.7 MB, free: 9.184 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1059, allocations: 4.25 kB / 361.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.1059, allocations: 0 / 361.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.1061, allocations: 20 kB / 361.7 MB, free: 9.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007929/0.1069, allocations: 1.16 MB / 362.9 MB, free: 7.898 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.1071, allocations: 0.6848 MB / 363.6 MB, free: 7.188 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.22e-05/0.1072, allocations: 3.906 kB / 363.6 MB, free: 7.184 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.1072, allocations: 7.438 kB / 363.6 MB, free: 7.176 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1072, allocations: 0 / 363.6 MB, free: 7.176 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.283/1.391, allocations: 1.096 MB / 364.7 MB, free: 6.215 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/1.391, allocations: 227.5 kB / 364.9 MB, free: 5.949 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.716/3.107, allocations: 0 / 364.9 MB, free: 5.949 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches