Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 103.7 kB / 16.62 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 193.8 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 241.2 MB, free: 13.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001197, allocations: 48.52 kB / 300.2 MB, free: 5.898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09874/0.09996, allocations: 49.45 MB / 349.7 MB, free: 4.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003502/0.1035, allocations: 1.596 MB / 351.3 MB, free: 2.832 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008942/0.1044, allocations: 0.4909 MB / 351.8 MB, free: 2.336 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.185e-05/0.1045, allocations: 0 / 351.8 MB, free: 2.336 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.692e-05/0.1046, allocations: 4 kB / 351.8 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001499/0.1048, allocations: 15.91 kB / 351.8 MB, free: 2.316 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.1051, allocations: 39.84 kB / 351.8 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.1052, allocations: 43.86 kB / 351.9 MB, free: 2.234 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1053, allocations: 27.92 kB / 351.9 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.984e-05/0.1054, allocations: 31.84 kB / 351.9 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.272e-05/0.1054, allocations: 19.86 kB / 352 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.1055, allocations: 4 kB / 352 MB, free: 2.152 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.256e-05/0.1055, allocations: 4 kB / 352 MB, free: 2.148 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.891e-05/0.1055, allocations: 11.94 kB / 352 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.681e-05/0.1056, allocations: 27.8 kB / 352 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.1057, allocations: 51.81 kB / 352.1 MB, free: 2.059 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1057, allocations: 0 / 352.1 MB, free: 2.059 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1057, allocations: 4 kB / 352.1 MB, free: 2.055 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.1057, allocations: 0 / 352.1 MB, free: 2.055 MB / 286.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.0004831/0.1062, allocations: 375.3 kB / 352.4 MB, free: 1.641 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.1063, allocations: 12.03 kB / 352.4 MB, free: 1.629 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.813e-05/0.1063, allocations: 30.75 kB / 352.5 MB, free: 1.59 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.066e-05/0.1063, allocations: 8.844 kB / 352.5 MB, free: 1.582 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.1065, allocations: 200.1 kB / 352.7 MB, free: 1.348 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.1065, allocations: 384 / 352.7 MB, free: 1.348 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.1066, allocations: 8.375 kB / 352.7 MB, free: 1.34 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/0.1069, allocations: 113.2 kB / 352.8 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1069, allocations: 0 / 352.8 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.1069, allocations: 0 / 352.8 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1069, allocations: 3.938 kB / 352.8 MB, free: 1.207 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.028e-05/0.107, allocations: 19.98 kB / 352.8 MB, free: 1.188 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003471/0.1074, allocations: 269.6 kB / 353.1 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.522e-05/0.1075, allocations: 37.2 kB / 353.1 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.141e-05/0.1075, allocations: 25.77 kB / 353.1 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.1075, allocations: 4 kB / 353.1 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.1076, allocations: 34.5 kB / 353.2 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1076, allocations: 0 / 353.2 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002646/0.1079, allocations: 73.52 kB / 353.2 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.833e-05/0.1079, allocations: 77.36 kB / 353.3 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.1081, allocations: 144.9 kB / 353.5 MB, free: 428 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.1081, allocations: 25.7 kB / 353.5 MB, free: 396 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.004e-05/0.1082, allocations: 92.06 kB / 353.6 MB, free: 300 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.1082, allocations: 0 / 353.6 MB, free: 300 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.588e-05/0.1083, allocations: 17.72 kB / 353.6 MB, free: 276 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.1085, allocations: 318.8 kB / 353.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.604e-05/0.1085, allocations: 11.98 kB / 353.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.169e-05/0.1086, allocations: 17.72 kB / 353.9 MB, free: 15.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.554e-05/0.1087, allocations: 33.64 kB / 354 MB, free: 15.88 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1087, allocations: 0 / 354 MB, free: 15.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001356/0.1088, allocations: 57.58 kB / 354 MB, free: 15.81 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.1089, allocations: 4 kB / 354 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.1089, allocations: 8.125 kB / 354 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.1089, allocations: 0 / 354 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-05/0.109, allocations: 7.938 kB / 354 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.109, allocations: 0 / 354 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.491e-05/0.1091, allocations: 7.984 kB / 354.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.1091, allocations: 0 / 354.1 MB, free: 15.79 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 0.0001068/0.1092, allocations: 121.7 kB / 354.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.799e-05/0.1093, allocations: 37.61 kB / 354.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.742e-05/0.1093, allocations: 19.89 kB / 354.2 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1093, allocations: 0 / 354.2 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1093, allocations: 0 / 354.2 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1093, allocations: 0 / 354.2 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.1096, allocations: 173.6 kB / 354.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1096, allocations: 0 / 354.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.443e-05/0.1097, allocations: 4 kB / 354.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1097, allocations: 0 / 354.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.1097, allocations: 3.984 kB / 354.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.1097, allocations: 3.938 kB / 354.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1097, allocations: 4 kB / 354.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.1099, allocations: 156.2 kB / 354.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.032e-05/0.11, allocations: 96.94 kB / 354.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.11, allocations: 8 kB / 354.7 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.862e-05/0.1101, allocations: 3.984 kB / 354.7 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.1101, allocations: 4 kB / 354.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.1102, allocations: 4.031 kB / 354.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.765e-05/0.1102, allocations: 107.2 kB / 354.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1102, allocations: 0 / 354.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.1105, allocations: 8 kB / 354.8 MB, free: 14.94 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.0007003/0.1112, allocations: 0.6976 MB / 355.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001499/0.1114, allocations: 23.97 kB / 355.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.1114, allocations: 0 / 355.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.7e-05/0.1114, allocations: 15.94 kB / 355.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005208/0.112, allocations: 23.95 kB / 355.6 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.1136, allocations: 1.319 MB / 356.9 MB, free: 12.74 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004781/0.1141, allocations: 0.6962 MB / 357.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.377e-05/0.1142, allocations: 0 / 357.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.916e-05/0.1142, allocations: 15.44 kB / 357.6 MB, free: 12 MB / 302.1 MB Notification: Performance of SimCode: time 8.42e-07/0.1142, allocations: 3.938 kB / 357.6 MB, free: 12 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01295/0.1272, allocations: 1.406 MB / 359 MB, free: 10.73 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003057/0.1275, allocations: 214.1 kB / 359.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/1.94, allocations: 2.953 kB / 359.2 MB, free: 10.48 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/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_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches