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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.00099/0.00099, allocations: 175.3 kB / 16.45 MB, free: 5.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.4 MB / 222.6 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008571/0.0008569, allocations: 95.64 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07213/0.07213, allocations: 12.6 MB / 331.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.0003961, allocations: 12 kB / 392.7 MB, free: 66.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.072/0.07242, allocations: 50.38 MB / 443 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.00131/0.07376, allocations: 1.293 MB / 444.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006626/0.07444, allocations: 0.574 MB / 444.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.913e-05/0.07452, allocations: 7.938 kB / 444.9 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.748e-05/0.07456, allocations: 3.938 kB / 444.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002028/0.07476, allocations: 23.91 kB / 444.9 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.07498, allocations: 63.81 kB / 445 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.624e-05/0.07507, allocations: 75.77 kB / 445.1 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.649e-05/0.07515, allocations: 12.22 kB / 445.1 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.017e-05/0.07523, allocations: 27.86 kB / 445.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.088e-05/0.07529, allocations: 35.83 kB / 445.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.07532, allocations: 4 kB / 445.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.313e-05/0.07533, allocations: 0 / 445.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.259e-05/0.07537, allocations: 19.92 kB / 445.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.884e-05/0.07541, allocations: 33.7 kB / 445.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.59e-05/0.07548, allocations: 55.84 kB / 445.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.07549, allocations: 4 kB / 445.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.07549, allocations: 0 / 445.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.0755, allocations: 0 / 445.3 MB, free: 13.54 MB / 298.7 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.0004131/0.07592, allocations: 387.2 kB / 445.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.07596, allocations: 15.97 kB / 445.7 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.07599, allocations: 15.75 kB / 445.7 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.07614, allocations: 206.8 kB / 445.9 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.07616, allocations: 8 kB / 445.9 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.07619, allocations: 8 kB / 445.9 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003888/0.07658, allocations: 221.7 kB / 446.1 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.0766, allocations: 0 / 446.1 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.07662, allocations: 4 kB / 446.1 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.07663, allocations: 4 kB / 446.1 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.07678, allocations: 55.89 kB / 446.2 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000244/0.07703, allocations: 298.4 kB / 446.5 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.0772, allocations: 99.89 kB / 446.6 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.07731, allocations: 54.62 kB / 446.6 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.07734, allocations: 4 kB / 446.6 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.07736, allocations: 42.48 kB / 446.7 MB, free: 11.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.07737, allocations: 0 / 446.7 MB, free: 11.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003604/0.07774, allocations: 154 kB / 446.8 MB, free: 11.78 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.07779, allocations: 110.9 kB / 446.9 MB, free: 11.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.902e-05/0.07787, allocations: 149.5 kB / 447.1 MB, free: 11.49 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.557e-06/0.07789, allocations: 25.7 kB / 447.1 MB, free: 11.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.614e-05/0.07792, allocations: 96.05 kB / 447.2 MB, free: 11.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.07794, allocations: 11.89 kB / 447.2 MB, free: 11.35 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.07795, allocations: 7.938 kB / 447.2 MB, free: 11.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.193e-05/0.078, allocations: 318.9 kB / 447.5 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.352e-05/0.07806, allocations: 27.98 kB / 447.5 MB, free: 10.99 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.459e-05/0.07813, allocations: 85.38 kB / 447.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.255e-05/0.0782, allocations: 35.98 kB / 447.7 MB, free: 10.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.07821, allocations: 0 / 447.7 MB, free: 10.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001773/0.07839, allocations: 141.3 kB / 447.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.07841, allocations: 10.03 kB / 447.8 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.07842, allocations: 0 / 447.8 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.07844, allocations: 4.344 kB / 447.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.07855, allocations: 31.92 kB / 447.8 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.07857, allocations: 4 kB / 447.8 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.24e-05/0.07863, allocations: 7.953 kB / 447.9 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.475e-06/0.07865, allocations: 8 kB / 447.9 MB, free: 10.63 MB / 298.7 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 6.537e-05/0.07872, allocations: 138.4 kB / 448 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.07888, allocations: 97.48 kB / 448.1 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.043e-05/0.07892, allocations: 12.31 kB / 448.1 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.07892, allocations: 4 kB / 448.1 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.07893, allocations: 4 kB / 448.1 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/0.07894, allocations: 3.984 kB / 448.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.07907, allocations: 193.5 kB / 448.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.07908, allocations: 0 / 448.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.07919, allocations: 19.98 kB / 448.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.0792, allocations: 0 / 448.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.07921, allocations: 11.98 kB / 448.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.07922, allocations: 0 / 448.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.07922, allocations: 0 / 448.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.07945, allocations: 233 kB / 448.6 MB, free: 9.844 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.287e-05/0.07951, allocations: 101 kB / 448.7 MB, free: 9.727 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.07953, allocations: 4 kB / 448.7 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.449e-05/0.07963, allocations: 7.984 kB / 448.7 MB, free: 9.715 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.07967, allocations: 12.11 kB / 448.7 MB, free: 9.703 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.07968, allocations: 8 kB / 448.7 MB, free: 9.695 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.528e-05/0.07973, allocations: 111.2 kB / 448.8 MB, free: 9.586 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.07973, allocations: 0 / 448.8 MB, free: 9.586 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002235/0.07996, allocations: 15.95 kB / 448.8 MB, free: 9.57 MB / 298.7 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 6.666e-05/0.08003, allocations: 95.25 kB / 448.9 MB, free: 9.469 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.08023, allocations: 84.22 kB / 449 MB, free: 9.387 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.08024, allocations: 0 / 449 MB, free: 9.387 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.604e-05/0.08028, allocations: 15.98 kB / 449 MB, free: 9.371 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.08069, allocations: 55.94 kB / 449.1 MB, free: 9.316 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005104/0.08121, allocations: 329 kB / 449.4 MB, free: 8.953 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.08133, allocations: 0.7043 MB / 450.1 MB, free: 8.223 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.08137, allocations: 11.44 kB / 450.1 MB, free: 8.211 MB / 298.7 MB Notification: Performance of SimCode: time 2.51e-07/0.08137, allocations: 4 kB / 450.1 MB, free: 8.207 MB / 298.7 MB Notification: Performance of Templates: time 0.001958/0.08333, allocations: 1.18 MB / 451.3 MB, free: 7.031 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile (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) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins1/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