Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.ClockSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001418/0.001418, allocations: 103.9 kB / 17.63 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001789/0.001788, allocations: 202.4 kB / 18.57 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001279, allocations: 55.41 kB / 307 MB, free: 0.5625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09653/0.09783, allocations: 50.54 MB / 357.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003189/0.1011, allocations: 1.552 MB / 359.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.1022, allocations: 0.5649 MB / 359.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.903e-05/0.1023, allocations: 3.938 kB / 359.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.42e-05/0.1024, allocations: 3.938 kB / 359.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.1025, allocations: 15.88 kB / 359.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.1029, allocations: 55.81 kB / 359.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.624e-05/0.103, allocations: 47.78 kB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.1031, allocations: 28.16 kB / 359.9 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.1032, allocations: 23.92 kB / 359.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.545e-05/0.1033, allocations: 27.78 kB / 359.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.1034, allocations: 7.938 kB / 359.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.104e-05/0.1034, allocations: 8 kB / 359.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.049e-05/0.1035, allocations: 11.94 kB / 359.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.206e-05/0.1035, allocations: 27.8 kB / 360 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.1037, allocations: 59.73 kB / 360 MB, free: 11.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1037, allocations: 0 / 360 MB, free: 11.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1037, allocations: 0 / 360 MB, free: 11.58 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.748e-06/0.1037, allocations: 0 / 360 MB, free: 11.58 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005063/0.1042, allocations: 387.3 kB / 360.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1043, allocations: 8.031 kB / 360.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.667e-05/0.1043, allocations: 30.75 kB / 360.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.1045, allocations: 20.83 kB / 360.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.1047, allocations: 196.2 kB / 360.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.352e-06/0.1047, allocations: 384 / 360.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.1047, allocations: 12.36 kB / 360.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.105, allocations: 109 kB / 360.8 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.105, allocations: 3.938 kB / 360.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.105, allocations: 0 / 360.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1051, allocations: 0 / 360.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.493e-05/0.1051, allocations: 19.98 kB / 360.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.1055, allocations: 273.6 kB / 361.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.129e-05/0.1056, allocations: 45.22 kB / 361.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.611e-05/0.1057, allocations: 21.7 kB / 361.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.1057, allocations: 4 kB / 361.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.1058, allocations: 30.56 kB / 361.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1058, allocations: 4 kB / 361.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002643/0.106, allocations: 65.52 kB / 361.2 MB, free: 10.17 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.417e-05/0.1061, allocations: 85.05 kB / 361.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.1063, allocations: 148.5 kB / 361.4 MB, free: 9.914 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.1063, allocations: 25.7 kB / 361.5 MB, free: 9.883 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.446e-05/0.1064, allocations: 88.14 kB / 361.6 MB, free: 9.793 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.1064, allocations: 3.906 kB / 361.6 MB, free: 9.789 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.1064, allocations: 17.72 kB / 361.6 MB, free: 9.766 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.1066, allocations: 318.8 kB / 361.9 MB, free: 9.445 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.325e-05/0.1067, allocations: 8 kB / 361.9 MB, free: 9.438 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.029e-05/0.1067, allocations: 25.7 kB / 361.9 MB, free: 9.406 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.946e-05/0.1068, allocations: 25.7 kB / 361.9 MB, free: 9.375 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.1068, allocations: 4 kB / 362 MB, free: 9.371 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001339/0.107, allocations: 57.62 kB / 362 MB, free: 9.309 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.107, allocations: 6.812 kB / 362 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.107, allocations: 128 / 362 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.107, allocations: 7.938 kB / 362 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.886e-05/0.1071, allocations: 11.98 kB / 362 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1071, allocations: 0 / 362 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.637e-05/0.1072, allocations: 0 / 362 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.1072, allocations: 4 kB / 362 MB, free: 9.281 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 9.43e-05/0.1073, allocations: 129.6 kB / 362.2 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-05/0.1074, allocations: 33.61 kB / 362.2 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.578e-05/0.1074, allocations: 15.83 kB / 362.2 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.1074, allocations: 4.031 kB / 362.2 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1074, allocations: 4 kB / 362.2 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1075, allocations: 3.984 kB / 362.2 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.1076, allocations: 169.6 kB / 362.4 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1077, allocations: 0 / 362.4 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.652e-05/0.1077, allocations: 8 kB / 362.4 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.1077, allocations: 0 / 362.4 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.1077, allocations: 3.938 kB / 362.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1077, allocations: 0 / 362.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1077, allocations: 0 / 362.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.1079, allocations: 172.2 kB / 362.6 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-05/0.108, allocations: 89 kB / 362.7 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.108, allocations: 0 / 362.7 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.764e-05/0.1081, allocations: 4 kB / 362.7 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.1081, allocations: 0 / 362.7 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.1081, allocations: 8 kB / 362.7 MB, free: 8.543 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.636e-05/0.1082, allocations: 113.7 kB / 362.8 MB, free: 8.434 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1082, allocations: 0 / 362.8 MB, free: 8.434 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002258/0.1085, allocations: 4 kB / 362.8 MB, free: 8.43 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.000523/0.109, allocations: 0.6975 MB / 363.5 MB, free: 7.703 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001587/0.1092, allocations: 19.98 kB / 363.5 MB, free: 7.684 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1092, allocations: 0 / 363.5 MB, free: 7.684 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.442e-05/0.1092, allocations: 11.98 kB / 363.5 MB, free: 7.672 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.1097, allocations: 18.64 kB / 363.5 MB, free: 7.656 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.111, allocations: 1.316 MB / 364.8 MB, free: 6.254 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.1114, allocations: 0.6962 MB / 365.5 MB, free: 5.531 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.276e-05/0.1114, allocations: 3.984 kB / 365.5 MB, free: 5.527 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.762e-05/0.1115, allocations: 23.42 kB / 365.6 MB, free: 5.504 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1115, allocations: 0 / 365.6 MB, free: 5.504 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01957/0.131, allocations: 1.524 MB / 367.1 MB, free: 4.074 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.112, allocations: 11.94 kB / 367.1 MB, free: 4.062 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.csv --start-time 0 --stop-time 0.08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.2e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches