Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 121 kB / 18.5 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 213.5 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 230.6 MB / 254.8 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 44.03 kB / 373.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1214, allocations: 53.34 MB / 427 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003263/0.1246, allocations: 1.562 MB / 428.6 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.1258, allocations: 0.5727 MB / 429.1 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.957e-05/0.1259, allocations: 3.938 kB / 429.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.3e-05/0.126, allocations: 3.938 kB / 429.2 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.1261, allocations: 19.86 kB / 429.2 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003235/0.1265, allocations: 59.81 kB / 429.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.1266, allocations: 47.78 kB / 429.3 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.866e-05/0.1267, allocations: 8.188 kB / 429.3 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.1268, allocations: 31.84 kB / 429.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.941e-05/0.1269, allocations: 23.86 kB / 429.3 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.1269, allocations: 4 kB / 429.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.146e-05/0.1269, allocations: 4 kB / 429.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.798e-05/0.127, allocations: 15.92 kB / 429.4 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/0.127, allocations: 35.73 kB / 429.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.1272, allocations: 55.73 kB / 429.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.846e-06/0.1272, allocations: 11.94 kB / 429.5 MB, free: 2.355 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1272, allocations: 0 / 429.5 MB, free: 2.355 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1272, allocations: 0 / 429.5 MB, free: 2.355 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.0005987/0.1278, allocations: 375.1 kB / 429.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.1278, allocations: 16.02 kB / 429.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.305e-05/0.1278, allocations: 192 / 429.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.248e-05/0.1279, allocations: 30.75 kB / 429.9 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/0.128, allocations: 24.88 kB / 429.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.1283, allocations: 200.1 kB / 430.1 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.617e-06/0.1283, allocations: 4.375 kB / 430.1 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.1284, allocations: 8.125 kB / 430.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002689/0.1286, allocations: 109 kB / 430.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1286, allocations: 0 / 430.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1286, allocations: 3.984 kB / 430.2 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1286, allocations: 4 kB / 430.2 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.304e-05/0.1287, allocations: 15.98 kB / 430.2 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003565/0.1291, allocations: 269.7 kB / 430.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.595e-05/0.1292, allocations: 41.22 kB / 430.5 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.722e-05/0.1292, allocations: 21.7 kB / 430.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.1293, allocations: 3.984 kB / 430.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.1293, allocations: 38.5 kB / 430.6 MB, free: 1.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/0.1293, allocations: 4 kB / 430.6 MB, free: 1.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002539/0.1296, allocations: 69.56 kB / 430.7 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/0.1296, allocations: 81.11 kB / 430.8 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.1298, allocations: 139.4 kB / 430.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.1298, allocations: 25.7 kB / 430.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.51e-05/0.1298, allocations: 88.39 kB / 431 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.1299, allocations: 11.95 kB / 431 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.1299, allocations: 13.72 kB / 431 MB, free: 0.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1301, allocations: 322.8 kB / 431.3 MB, free: 224 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.907e-05/0.1301, allocations: 4 kB / 431.3 MB, free: 220 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.301e-05/0.1301, allocations: 21.7 kB / 431.4 MB, free: 192 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.549e-05/0.1302, allocations: 37.7 kB / 431.4 MB, free: 148 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1302, allocations: 0 / 431.4 MB, free: 148 kB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001255/0.1303, allocations: 57.58 kB / 431.5 MB, free: 84 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1304, allocations: 4 kB / 431.5 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1304, allocations: 0 / 431.5 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1304, allocations: 4 kB / 431.5 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.857e-05/0.1305, allocations: 7.984 kB / 431.5 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1305, allocations: 0 / 431.5 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.372e-05/0.1305, allocations: 8 kB / 431.5 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.1305, allocations: 4 kB / 431.5 MB, free: 56 kB / 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 0.0001102/0.1306, allocations: 121.8 kB / 431.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.757e-05/0.1307, allocations: 41.66 kB / 431.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.1307, allocations: 7.875 kB / 431.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1307, allocations: 0 / 431.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1307, allocations: 0 / 431.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1307, allocations: 0 / 431.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.1309, allocations: 177.6 kB / 431.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1309, allocations: 0 / 431.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.991e-05/0.131, allocations: 11.92 kB / 431.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.131, allocations: 0 / 431.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.131, allocations: 0 / 431.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.131, allocations: 3.984 kB / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.131, allocations: 4 kB / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.1312, allocations: 164.3 kB / 432 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.908e-05/0.1312, allocations: 92.98 kB / 432.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.1313, allocations: 8 kB / 432.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.635e-05/0.1313, allocations: 4 kB / 432.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.1314, allocations: 4 kB / 432.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.1314, allocations: 0 / 432.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.457e-05/0.1314, allocations: 108.3 kB / 432.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1314, allocations: 0 / 432.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002139/0.1317, allocations: 4 kB / 432.2 MB, free: 15.21 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.0004966/0.1322, allocations: 0.6976 MB / 432.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001514/0.1323, allocations: 31.95 kB / 433 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1323, allocations: 0 / 433 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.855e-05/0.1323, allocations: 7.984 kB / 433 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.1327, allocations: 16.64 kB / 433 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.1341, allocations: 1.335 MB / 434.3 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.1345, allocations: 0.6885 MB / 435 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.056e-05/0.1345, allocations: 0 / 435 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.1346, allocations: 19.42 kB / 435 MB, free: 12.27 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1346, allocations: 3.938 kB / 435 MB, free: 12.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/0.1531, allocations: 1.596 MB / 436.6 MB, free: 10.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.143/8.296, allocations: 15.41 kB / 436.6 MB, free: 10.8 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --stepSize=1.59331e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/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_4.1.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.continuous,sine.f,sine.offset,sine.phase,sine.startTime,sine.y,superSample1.factor,time [Calling sys.exit(0), Time elapsed: 11.04599135601893]