Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001177/0.001178, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001251/0.001251, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 61.86 kB / 307.1 MB, free: 0.5859 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09727/0.09855, allocations: 50.52 MB / 357.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002881/0.1015, allocations: 1.52 MB / 359.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003724/0.1019, allocations: 135.6 kB / 359.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.268e-05/0.102, allocations: 3.938 kB / 359.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.379e-05/0.102, allocations: 7.922 kB / 359.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.1022, allocations: 11.94 kB / 359.3 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.1024, allocations: 35.83 kB / 359.3 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.322e-05/0.1025, allocations: 35.88 kB / 359.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1026, allocations: 19.97 kB / 359.3 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.184e-05/0.1027, allocations: 15.92 kB / 359.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.163e-05/0.1027, allocations: 15.92 kB / 359.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.1028, allocations: 4 kB / 359.4 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.68e-05/0.1028, allocations: 4 kB / 359.4 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.497e-05/0.1028, allocations: 15.92 kB / 359.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.434e-05/0.1029, allocations: 15.88 kB / 359.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.103, allocations: 47.75 kB / 359.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.103, allocations: 0 / 359.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.103, allocations: 4 kB / 359.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.103, allocations: 4 kB / 359.5 MB, free: 12.15 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004019/0.1034, allocations: 363.5 kB / 359.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.1035, allocations: 8.031 kB / 359.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.601e-05/0.1035, allocations: 38.73 kB / 359.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.755e-05/0.1036, allocations: 8.844 kB / 359.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.1037, allocations: 194.5 kB / 360.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.1037, allocations: 4.375 kB / 360.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.1038, allocations: 4.375 kB / 360.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.104, allocations: 113.6 kB / 360.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.104, allocations: 3.938 kB / 360.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.104, allocations: 0 / 360.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.104, allocations: 0 / 360.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.816e-05/0.1041, allocations: 23.92 kB / 360.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002624/0.1044, allocations: 261.8 kB / 360.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.1046, allocations: 138.2 kB / 360.6 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.14e-05/0.1047, allocations: 33.77 kB / 360.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.1047, allocations: 0 / 360.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.1047, allocations: 34.56 kB / 360.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.1047, allocations: 0 / 360.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002219/0.1049, allocations: 77.52 kB / 360.7 MB, free: 10.65 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.105, allocations: 81.41 kB / 360.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.51e-05/0.1051, allocations: 146 kB / 361 MB, free: 10.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.1051, allocations: 25.7 kB / 361 MB, free: 10.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.882e-05/0.1052, allocations: 84.14 kB / 361.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.656e-06/0.1052, allocations: 4 kB / 361.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.1052, allocations: 25.61 kB / 361.1 MB, free: 10.24 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.424e-05/0.1053, allocations: 314.8 kB / 361.4 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.214e-05/0.1054, allocations: 15.92 kB / 361.4 MB, free: 9.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.772e-05/0.1054, allocations: 35.42 kB / 361.5 MB, free: 9.863 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.846e-05/0.1055, allocations: 51.36 kB / 361.5 MB, free: 9.801 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.1055, allocations: 3.938 kB / 361.5 MB, free: 9.797 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000114/0.1057, allocations: 65.61 kB / 361.6 MB, free: 9.727 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1057, allocations: 10.97 kB / 361.6 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1057, allocations: 0 / 361.6 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.1057, allocations: 0 / 361.6 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.594e-05/0.1058, allocations: 8 kB / 361.6 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.1058, allocations: 0 / 361.6 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.382e-05/0.1058, allocations: 11.92 kB / 361.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.1058, allocations: 4.125 kB / 361.6 MB, free: 9.695 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: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * 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 7.664e-05/0.1059, allocations: 130.8 kB / 361.7 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.495e-05/0.106, allocations: 49.59 kB / 361.8 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.106, allocations: 8.25 kB / 361.8 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.106, allocations: 4 kB / 361.8 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.106, allocations: 0 / 361.8 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.106, allocations: 0 / 361.8 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.1062, allocations: 169.6 kB / 362 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1062, allocations: 4 kB / 362 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.664e-05/0.1062, allocations: 7.984 kB / 362 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1063, allocations: 8 kB / 362 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.1063, allocations: 0 / 362 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1063, allocations: 0 / 362 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1063, allocations: 3.938 kB / 362 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.1064, allocations: 168.2 kB / 362.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/0.1065, allocations: 93 kB / 362.2 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.1065, allocations: 4 kB / 362.3 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.393e-05/0.1066, allocations: 7.938 kB / 362.3 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.282e-05/0.1066, allocations: 0 / 362.3 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.1066, allocations: 0 / 362.3 MB, free: 8.941 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.025e-05/0.1067, allocations: 110.2 kB / 362.4 MB, free: 8.836 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1067, allocations: 0 / 362.4 MB, free: 8.836 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002211/0.1069, allocations: 4 kB / 362.4 MB, free: 8.832 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.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.0003879/0.1073, allocations: 0.7092 MB / 363.1 MB, free: 8.094 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001192/0.1074, allocations: 27.92 kB / 363.1 MB, free: 8.066 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.1075, allocations: 4 kB / 363.1 MB, free: 8.062 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.263e-05/0.1075, allocations: 12.23 kB / 363.1 MB, free: 8.051 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.1079, allocations: 32.02 kB / 363.2 MB, free: 8.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.109, allocations: 1.318 MB / 364.5 MB, free: 6.598 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.1092, allocations: 0.6885 MB / 365.2 MB, free: 5.883 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.904e-05/0.1093, allocations: 4 kB / 365.2 MB, free: 5.879 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.1093, allocations: 11.44 kB / 365.2 MB, free: 5.867 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1093, allocations: 8 kB / 365.2 MB, free: 5.859 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.017/0.1263, allocations: 1.436 MB / 366.6 MB, free: 4.516 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.925/8.051, allocations: 0 / 366.6 MB, free: 4.516 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches