Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSampleIpo.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSampleIpo.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 95.69 kB / 15.74 MB, free: 424 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 171 kB / 16.62 MB, free: 6.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.4 MB / 222.8 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09143/0.09143, allocations: 12.6 MB / 283.7 MB, free: 8.688 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007137/0.0007138, allocations: 23.98 kB / 344.5 MB, free: 21.25 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1278, allocations: 50.38 MB / 394.9 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002174/0.1301, allocations: 1.298 MB / 396.2 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009863/0.1311, allocations: 0.574 MB / 396.8 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.556e-05/0.1312, allocations: 4 kB / 396.8 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.534e-05/0.1312, allocations: 7.938 kB / 396.8 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002528/0.1315, allocations: 27.91 kB / 396.8 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.1318, allocations: 59.81 kB / 396.9 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.1319, allocations: 71.77 kB / 397 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.132, allocations: 12.23 kB / 397 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.803e-05/0.1321, allocations: 31.84 kB / 397 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.918e-05/0.1322, allocations: 27.84 kB / 397 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.1322, allocations: 8 kB / 397 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.396e-05/0.1322, allocations: 0 / 397 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.133e-05/0.1323, allocations: 23.91 kB / 397.1 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.841e-05/0.1323, allocations: 37.64 kB / 397.1 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.1324, allocations: 55.89 kB / 397.1 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.1324, allocations: 0 / 397.1 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1324, allocations: 0 / 397.1 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.1325, allocations: 0 / 397.1 MB, free: 0.5156 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006348/0.1331, allocations: 387.2 kB / 397.5 MB, free: 92 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1332, allocations: 16.03 kB / 397.5 MB, free: 76 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.738e-05/0.1332, allocations: 15.81 kB / 397.6 MB, free: 60 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.1335, allocations: 202.7 kB / 397.8 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.1335, allocations: 4 kB / 397.8 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.1335, allocations: 11.98 kB / 397.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00049/0.134, allocations: 220.8 kB / 398 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.1341, allocations: 0 / 398 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.1341, allocations: 8 kB / 398 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1341, allocations: 0 / 398 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.1343, allocations: 59.89 kB / 398.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004607/0.1348, allocations: 294.4 kB / 398.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.135, allocations: 107.8 kB / 398.4 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.1351, allocations: 58.55 kB / 398.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.156e-05/0.1352, allocations: 11.98 kB / 398.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.1352, allocations: 30.56 kB / 398.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 3.276e-06/0.1352, allocations: 0 / 398.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004625/0.1357, allocations: 161.8 kB / 398.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.267e-05/0.1358, allocations: 110.8 kB / 398.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.136, allocations: 145.6 kB / 399 MB, free: 14.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.136, allocations: 25.7 kB / 399 MB, free: 14.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.702e-05/0.136, allocations: 104.2 kB / 399.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.1361, allocations: 7.906 kB / 399.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/0.1361, allocations: 4 kB / 399.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002356/0.1363, allocations: 318.8 kB / 399.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.813e-05/0.1364, allocations: 23.98 kB / 399.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.733e-05/0.1365, allocations: 85.44 kB / 399.5 MB, free: 13.85 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.281e-05/0.1366, allocations: 39.92 kB / 399.5 MB, free: 13.81 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1366, allocations: 0 / 399.5 MB, free: 13.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002108/0.1368, allocations: 137.6 kB / 399.7 MB, free: 13.67 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.1368, allocations: 8 kB / 399.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.1369, allocations: 8 kB / 399.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.1369, allocations: 4 kB / 399.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.137, allocations: 23.98 kB / 399.7 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.137, allocations: 4 kB / 399.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.568e-05/0.1371, allocations: 11.95 kB / 399.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.1371, allocations: 11.98 kB / 399.8 MB, free: 13.6 MB / 302.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 (superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,superSampleIpo.first,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001429/0.1373, allocations: 129.8 kB / 399.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/0.1375, allocations: 105.4 kB / 400 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.607e-05/0.1375, allocations: 12.3 kB / 400 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1375, allocations: 4 kB / 400 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1375, allocations: 0 / 400 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1375, allocations: 0 / 400 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.1377, allocations: 189.6 kB / 400.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1377, allocations: 3.938 kB / 400.2 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.1378, allocations: 19.98 kB / 400.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.1379, allocations: 4 kB / 400.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.1379, allocations: 11.98 kB / 400.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1379, allocations: 0 / 400.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.1379, allocations: 7.938 kB / 400.2 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.1382, allocations: 221.1 kB / 400.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.271e-05/0.1383, allocations: 101 kB / 400.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.1383, allocations: 4 kB / 400.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.025e-05/0.1384, allocations: 11.98 kB / 400.6 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.1384, allocations: 3.938 kB / 400.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.1385, allocations: 4 kB / 400.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.265e-05/0.1386, allocations: 111.2 kB / 400.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1386, allocations: 0 / 400.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000251/0.1388, allocations: 15.95 kB / 400.7 MB, free: 12.55 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001222/0.1389, allocations: 111.1 kB / 400.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000244/0.1392, allocations: 87.77 kB / 400.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1392, allocations: 0 / 400.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.931e-05/0.1393, allocations: 12.69 kB / 400.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.1397, allocations: 60 kB / 401 MB, free: 12.28 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006115/0.1403, allocations: 287.1 kB / 401.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.1406, allocations: 0.7083 MB / 401.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.976e-05/0.1407, allocations: 8.547 kB / 402 MB, free: 11.22 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.603e-05/0.1407, allocations: 11.44 kB / 402 MB, free: 11.21 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1408, allocations: 0 / 402 MB, free: 11.21 MB / 302.1 MB Notification: Performance of Templates: time 0.003234/0.144, allocations: 0.8294 MB / 402.8 MB, free: 10.38 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches