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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 115.7 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 190.6 kB / 21.43 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 249.8 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 43.94 kB / 366.3 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1085, allocations: 52.14 MB / 418.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003519/0.112, allocations: 1.559 MB / 420 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.1131, allocations: 0.5064 MB / 420.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.1132, allocations: 7.938 kB / 420.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.43e-05/0.1132, allocations: 7.938 kB / 420.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.1134, allocations: 7.875 kB / 420.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.1137, allocations: 55.81 kB / 420.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.1138, allocations: 39.91 kB / 420.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1139, allocations: 11.94 kB / 420.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.41e-05/0.114, allocations: 27.84 kB / 420.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.809e-05/0.1141, allocations: 19.92 kB / 420.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.1141, allocations: 0 / 420.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.093e-05/0.1141, allocations: 4 kB / 420.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.944e-05/0.1142, allocations: 19.92 kB / 420.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.358e-05/0.1142, allocations: 27.81 kB / 420.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.1144, allocations: 55.67 kB / 420.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1144, allocations: 0 / 420.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1144, allocations: 0 / 420.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.1144, allocations: 0 / 420.8 MB, free: 10.28 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.0005947/0.115, allocations: 375.1 kB / 421.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.1151, allocations: 8.031 kB / 421.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.397e-05/0.1151, allocations: 192 / 421.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.902e-05/0.1151, allocations: 50.67 kB / 421.2 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.1151, allocations: 8.891 kB / 421.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.1155, allocations: 206.5 kB / 421.4 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.1155, allocations: 384 / 421.4 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.1155, allocations: 4.375 kB / 421.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003099/0.1158, allocations: 113 kB / 421.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1158, allocations: 0 / 421.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.1158, allocations: 0 / 421.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.1158, allocations: 3.984 kB / 421.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.112e-05/0.1159, allocations: 23.92 kB / 421.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.1163, allocations: 265.7 kB / 421.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.725e-05/0.1164, allocations: 45.14 kB / 421.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.118e-05/0.1164, allocations: 17.78 kB / 421.9 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.1164, allocations: 7.984 kB / 421.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.1165, allocations: 30.56 kB / 421.9 MB, free: 8.945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.1165, allocations: 4 kB / 422 MB, free: 8.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002564/0.1167, allocations: 65.61 kB / 422 MB, free: 8.871 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.1168, allocations: 77.11 kB / 422.1 MB, free: 8.777 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.1169, allocations: 142.1 kB / 422.2 MB, free: 8.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.117, allocations: 29.7 kB / 422.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.767e-05/0.117, allocations: 92.06 kB / 422.3 MB, free: 8.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.117, allocations: 8.188 kB / 422.4 MB, free: 8.488 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.1171, allocations: 17.67 kB / 422.4 MB, free: 8.465 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1172, allocations: 322.8 kB / 422.7 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.382e-05/0.1173, allocations: 7.984 kB / 422.7 MB, free: 8.133 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.062e-05/0.1173, allocations: 21.66 kB / 422.7 MB, free: 8.105 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.502e-05/0.1174, allocations: 33.77 kB / 422.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1174, allocations: 0 / 422.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001357/0.1176, allocations: 53.61 kB / 422.8 MB, free: 8.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1176, allocations: 8 kB / 422.8 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1176, allocations: 0 / 422.8 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1176, allocations: 0 / 422.8 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.645e-05/0.1177, allocations: 8 kB / 422.8 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1177, allocations: 3.984 kB / 422.8 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.955e-05/0.1177, allocations: 12.05 kB / 422.8 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.1177, allocations: 0 / 422.8 MB, free: 7.977 MB / 350.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.142e-05/0.1178, allocations: 113.8 kB / 422.9 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.409e-05/0.1179, allocations: 41.66 kB / 423 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.183e-05/0.1179, allocations: 15.8 kB / 423 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1179, allocations: 3.938 kB / 423 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1179, allocations: 0 / 423 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.1179, allocations: 0 / 423 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.1181, allocations: 177.6 kB / 423.2 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1181, allocations: 0 / 423.2 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.994e-05/0.1182, allocations: 4 kB / 423.2 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1182, allocations: 0 / 423.2 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.1182, allocations: 3.984 kB / 423.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1182, allocations: 4 kB / 423.2 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1182, allocations: 0 / 423.2 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.1184, allocations: 160.3 kB / 423.3 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.969e-05/0.1185, allocations: 93.05 kB / 423.4 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.1185, allocations: 4 kB / 423.4 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.78e-05/0.1185, allocations: 3.984 kB / 423.4 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.1186, allocations: 7.938 kB / 423.5 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.1186, allocations: 4 kB / 423.5 MB, free: 7.246 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.171e-05/0.1187, allocations: 105.2 kB / 423.6 MB, free: 7.145 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1187, allocations: 0 / 423.6 MB, free: 7.145 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002163/0.1189, allocations: 4 kB / 423.6 MB, free: 7.141 MB / 350.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.0005482/0.1194, allocations: 0.6976 MB / 424.3 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.1196, allocations: 31.94 kB / 424.3 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1196, allocations: 3.938 kB / 424.3 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.628e-05/0.1196, allocations: 8 kB / 424.3 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.12, allocations: 16.02 kB / 424.3 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.1214, allocations: 1.314 MB / 425.6 MB, free: 4.953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.1218, allocations: 0.6922 MB / 426.3 MB, free: 4.234 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.444e-05/0.1218, allocations: 4 kB / 426.3 MB, free: 4.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.717e-05/0.1219, allocations: 15.42 kB / 426.3 MB, free: 4.215 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1219, allocations: 0 / 426.3 MB, free: 4.215 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01814/0.14, allocations: 1.58 MB / 427.9 MB, free: 2.777 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.428/8.568, allocations: 8 kB / 427.9 MB, free: 2.77 MB / 350.1 MB " [Timeout remaining time 651] (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 --stepSize=1.59331e-05 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y Variables in the result:periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,sample1.u,sample1.y,sine.amplitude,sine.f,sine.offset,sine.phase,sine.startTime,sine.y,superSample1.factor,time [Calling sys.exit(0), Time elapsed: 11.106045961030759]