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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001728/0.001728, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002047/0.002047, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 230.5 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 59.91 kB / 373 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1085, allocations: 53.37 MB / 426.3 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002994/0.1115, allocations: 1.572 MB / 427.9 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.1125, allocations: 0.5648 MB / 428.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.431e-05/0.1126, allocations: 0 / 428.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.886e-05/0.1127, allocations: 15.86 kB / 428.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.1128, allocations: 7.938 kB / 428.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.1131, allocations: 63.75 kB / 428.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.1132, allocations: 43.86 kB / 428.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.1133, allocations: 16.16 kB / 428.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.1135, allocations: 31.86 kB / 428.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.343e-05/0.1135, allocations: 19.86 kB / 428.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.1135, allocations: 4 kB / 428.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.924e-05/0.1136, allocations: 4 kB / 428.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.784e-05/0.1136, allocations: 15.92 kB / 428.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.184e-05/0.1137, allocations: 35.8 kB / 428.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.1138, allocations: 55.73 kB / 428.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1138, allocations: 3.938 kB / 428.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1138, allocations: 0 / 428.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1138, allocations: 0 / 428.8 MB, free: 2.168 MB / 350.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.0005301/0.1144, allocations: 383 kB / 429.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1144, allocations: 8.031 kB / 429.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.352e-05/0.1144, allocations: 34.75 kB / 429.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.1146, allocations: 20.88 kB / 429.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.1148, allocations: 204.2 kB / 429.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.1148, allocations: 384 / 429.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.1149, allocations: 4.375 kB / 429.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.1151, allocations: 113 kB / 429.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1151, allocations: 4 kB / 429.5 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.1151, allocations: 3.984 kB / 429.6 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1152, allocations: 7.938 kB / 429.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.842e-05/0.1152, allocations: 15.92 kB / 429.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.1156, allocations: 257.8 kB / 429.8 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.1157, allocations: 57.12 kB / 429.9 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.391e-05/0.1157, allocations: 13.78 kB / 429.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.1158, allocations: 7.984 kB / 429.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.1158, allocations: 34.56 kB / 429.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.133e-06/0.1158, allocations: 3.938 kB / 429.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002321/0.116, allocations: 65.58 kB / 430 MB, free: 0.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.477e-05/0.1161, allocations: 85.09 kB / 430.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.1162, allocations: 140.4 kB / 430.2 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1162, allocations: 25.7 kB / 430.3 MB, free: 484 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.055e-05/0.1163, allocations: 92.12 kB / 430.3 MB, free: 388 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.35e-05/0.1163, allocations: 3.953 kB / 430.3 MB, free: 384 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.1163, allocations: 21.97 kB / 430.4 MB, free: 356 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1165, allocations: 314.8 kB / 430.7 MB, free: 32 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.955e-05/0.1165, allocations: 11.92 kB / 430.7 MB, free: 20 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.21e-05/0.1166, allocations: 21.72 kB / 430.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.521e-05/0.1167, allocations: 33.77 kB / 430.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1167, allocations: 0 / 430.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001255/0.1168, allocations: 61.56 kB / 430.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.1168, allocations: 6.188 kB / 430.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1168, allocations: 0 / 430.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1168, allocations: 4 kB / 430.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.466e-05/0.1169, allocations: 4 kB / 430.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1169, allocations: 3.984 kB / 430.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.557e-05/0.117, allocations: 3.984 kB / 430.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.117, allocations: 8.062 kB / 430.8 MB, free: 15.86 MB / 366.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.76e-05/0.1171, allocations: 117.8 kB / 430.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.065e-05/0.1171, allocations: 45.58 kB / 431 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.311e-05/0.1172, allocations: 7.875 kB / 431 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1172, allocations: 4 kB / 431 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1172, allocations: 0 / 431 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1172, allocations: 0 / 431 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.1174, allocations: 169.6 kB / 431.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1174, allocations: 8.031 kB / 431.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-05/0.1174, allocations: 7.984 kB / 431.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1174, allocations: 0 / 431.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.1174, allocations: 0 / 431.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1174, allocations: 0 / 431.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.1174, allocations: 4 kB / 431.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.1176, allocations: 160.2 kB / 431.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.302e-05/0.1177, allocations: 96.98 kB / 431.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.1177, allocations: 7.938 kB / 431.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.539e-05/0.1178, allocations: 7.984 kB / 431.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.1178, allocations: 0 / 431.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.1178, allocations: 4 kB / 431.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.146e-05/0.1179, allocations: 107.2 kB / 431.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1179, allocations: 0 / 431.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002079/0.1181, allocations: 4 kB / 431.6 MB, free: 15.01 MB / 366.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.0004758/0.1186, allocations: 0.6976 MB / 432.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001199/0.1187, allocations: 19.92 kB / 432.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1187, allocations: 4.156 kB / 432.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.869e-05/0.1187, allocations: 12 kB / 432.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.119, allocations: 17.42 kB / 432.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.1204, allocations: 1.326 MB / 433.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.1207, allocations: 0.6924 MB / 434.3 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.931e-05/0.1207, allocations: 4 kB / 434.3 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.956e-05/0.1208, allocations: 11.44 kB / 434.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1208, allocations: 0 / 434.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.1432, allocations: 1.564 MB / 435.9 MB, free: 10.63 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.456/7.599, allocations: 18.2 kB / 435.9 MB, free: 10.62 MB / 366.1 MB " [Timeout remaining time 652] (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 1.59331e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.296452163951471]