Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.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.001362/0.001362, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.001468/0.001468, allocations: 161.9 kB / 24.5 MB, free: 3.711 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.459/1.459, allocations: 177.2 MB / 204.9 MB, free: 8.996 MB / 190.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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|sample1.y|superSampleIpo.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|sample1.y|superSampleIpo.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002614/0.002614, allocations: 51.64 kB / 325.6 MB, free: 252 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.111, allocations: 53.34 MB / 378.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.00317/0.1142, allocations: 1.612 MB / 380.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.1154, allocations: 0.5999 MB / 381.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.088e-05/0.1155, allocations: 3.938 kB / 381.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.442e-05/0.1155, allocations: 3.938 kB / 381.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.1157, allocations: 35.78 kB / 381.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.116, allocations: 83.59 kB / 381.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.1162, allocations: 79.77 kB / 381.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.007e-05/0.1163, allocations: 15.92 kB / 381.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.1164, allocations: 39.84 kB / 381.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.157e-05/0.1165, allocations: 35.78 kB / 381.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.1165, allocations: 8 kB / 381.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.321e-05/0.1165, allocations: 8 kB / 381.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.333e-05/0.1166, allocations: 19.92 kB / 381.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.442e-05/0.1166, allocations: 39.78 kB / 381.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.1168, allocations: 87.58 kB / 381.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1168, allocations: 0 / 381.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1168, allocations: 3.938 kB / 381.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.1168, allocations: 0 / 381.6 MB, free: 12.98 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006004/0.1174, allocations: 333.8 kB / 381.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.1175, allocations: 8.031 kB / 381.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.1176, allocations: 28.83 kB / 381.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.1179, allocations: 158.1 kB / 382.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.1179, allocations: 4.375 kB / 382.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.1179, allocations: 16.12 kB / 382.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004956/0.1184, allocations: 217.7 kB / 382.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1184, allocations: 0 / 382.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.1185, allocations: 8 kB / 382.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.1185, allocations: 0 / 382.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.1186, allocations: 51.89 kB / 382.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003146/0.1189, allocations: 234.1 kB / 382.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.1192, allocations: 95.77 kB / 382.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.1193, allocations: 54.75 kB / 382.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.1193, allocations: 3.984 kB / 382.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.1193, allocations: 34.56 kB / 382.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.1193, allocations: 0 / 382.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.000435/0.1198, allocations: 145.5 kB / 382.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.361e-05/0.1199, allocations: 114.8 kB / 383.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.12, allocations: 141.8 kB / 383.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.12, allocations: 29.7 kB / 383.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.538e-05/0.1201, allocations: 92.25 kB / 383.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.1201, allocations: 19.84 kB / 383.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.883e-05/0.1202, allocations: 29.7 kB / 383.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1203, allocations: 322.8 kB / 383.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.607e-05/0.1204, allocations: 19.98 kB / 383.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.1205, allocations: 93.36 kB / 383.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.1207, allocations: 113.3 kB / 383.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1207, allocations: 4 kB / 383.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002351/0.1209, allocations: 133.4 kB / 384 MB, free: 10.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1209, allocations: 7.938 kB / 384 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.1209, allocations: 4 kB / 384 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.1209, allocations: 4 kB / 384 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.1211, allocations: 19.98 kB / 384.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1211, allocations: 7.938 kB / 384.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.641e-05/0.1212, allocations: 19.94 kB / 384.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.1212, allocations: 4.344 kB / 384.1 MB, free: 10.17 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,superSampleIpo.usedFactor,$CLKPRE.superSampleIpo.first,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.first,superSampleIpo.uu) * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001067/0.1213, allocations: 133.7 kB / 384.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/0.1215, allocations: 102.1 kB / 384.3 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.586e-05/0.1215, allocations: 20.45 kB / 384.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1215, allocations: 0 / 384.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1215, allocations: 0 / 384.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1216, allocations: 4 kB / 384.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.1217, allocations: 133.1 kB / 384.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1217, allocations: 3.984 kB / 384.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.1218, allocations: 23.92 kB / 384.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1218, allocations: 0 / 384.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.1219, allocations: 8 kB / 384.5 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1219, allocations: 0 / 384.5 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1219, allocations: 0 / 384.5 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003195/0.1222, allocations: 225.1 kB / 384.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.652e-05/0.1222, allocations: 23.89 kB / 384.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.1223, allocations: 11.94 kB / 384.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1224, allocations: 7.984 kB / 384.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.375e-05/0.1224, allocations: 0 / 384.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.1224, allocations: 4 kB / 384.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.949e-05/0.1225, allocations: 122.4 kB / 384.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1225, allocations: 7.938 kB / 384.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.1227, allocations: 12 kB / 384.9 MB, free: 9.273 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (superSampleIpo.usedFactor,superSampleIpo.ticks,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001022/0.1228, allocations: 99.25 kB / 385 MB, free: 9.168 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002362/0.1231, allocations: 75.83 kB / 385.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1231, allocations: 0 / 385.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.192e-05/0.1231, allocations: 12.69 kB / 385.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.1235, allocations: 63.92 kB / 385.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006738/0.1242, allocations: 253.4 kB / 385.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.384e-05/0.1243, allocations: 88.31 kB / 385.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.66e-05/0.1243, allocations: 8.922 kB / 385.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.362e-05/0.1244, allocations: 16.5 kB / 385.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1244, allocations: 4 kB / 385.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of Templates: time 0.004092/0.1285, allocations: 1.062 MB / 386.6 MB, free: 7.562 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.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: 4.341897247009911]