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.0008875/0.0008875, allocations: 94.56 kB / 16.06 MB, free: 36 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.0007458/0.0007458, allocations: 182.5 kB / 16.96 MB, free: 6.91 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.241/1.241, allocations: 205.4 MB / 223.2 MB, free: 5.516 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.06204/0.06204, allocations: 12.6 MB / 284 MB, free: 8.586 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.0006313/0.0006314, allocations: 24.56 kB / 345.2 MB, free: 20.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07296/0.0736, allocations: 50.39 MB / 395.5 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.001524/0.07515, allocations: 1.325 MB / 396.9 MB, free: 1.09 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008186/0.07599, allocations: 0.5737 MB / 397.4 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.068e-05/0.07608, allocations: 3.938 kB / 397.5 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.65e-05/0.07612, allocations: 11.94 kB / 397.5 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.0763, allocations: 19.91 kB / 397.5 MB, free: 484 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.07653, allocations: 67.81 kB / 397.5 MB, free: 416 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.364e-05/0.07663, allocations: 63.78 kB / 397.6 MB, free: 352 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.105e-05/0.07673, allocations: 24.19 kB / 397.6 MB, free: 328 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.814e-05/0.07682, allocations: 39.8 kB / 397.7 MB, free: 288 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.396e-05/0.07688, allocations: 35.78 kB / 397.7 MB, free: 252 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.0769, allocations: 0 / 397.7 MB, free: 252 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.185e-05/0.07692, allocations: 4 kB / 397.7 MB, free: 248 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.165e-05/0.07697, allocations: 15.92 kB / 397.7 MB, free: 232 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.67e-05/0.07703, allocations: 61.44 kB / 397.8 MB, free: 164 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.683e-05/0.07712, allocations: 71.7 kB / 397.9 MB, free: 92 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.07713, allocations: 0 / 397.9 MB, free: 92 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.07714, allocations: 0 / 397.9 MB, free: 92 kB / 286.1 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.07715, allocations: 0 / 397.9 MB, free: 92 kB / 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.0004507/0.0776, allocations: 391.6 kB / 398.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.07764, allocations: 12.03 kB / 398.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.07768, allocations: 12.75 kB / 398.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.07786, allocations: 211.9 kB / 398.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.07788, allocations: 4.375 kB / 398.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.0779, allocations: 8.375 kB / 398.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004159/0.07832, allocations: 221.2 kB / 398.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.07834, allocations: 4 kB / 398.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.07836, allocations: 4 kB / 398.7 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.07837, allocations: 0 / 398.7 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.07853, allocations: 59.89 kB / 398.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002834/0.07882, allocations: 294.4 kB / 399.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.079, allocations: 107.9 kB / 399.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.07912, allocations: 54.56 kB / 399.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.07915, allocations: 4 kB / 399.2 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.07917, allocations: 42.55 kB / 399.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.07918, allocations: 0 / 399.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003595/0.07954, allocations: 145.5 kB / 399.4 MB, free: 14.33 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/0.07962, allocations: 119.2 kB / 399.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.07973, allocations: 145.7 kB / 399.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.07975, allocations: 25.7 kB / 399.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.738e-05/0.07979, allocations: 92.14 kB / 399.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.07982, allocations: 15.8 kB / 399.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/0.07985, allocations: 13.72 kB / 399.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.751e-05/0.07995, allocations: 322.8 kB / 400.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.488e-05/0.08001, allocations: 23.92 kB / 400.1 MB, free: 13.53 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.088e-05/0.0801, allocations: 89.44 kB / 400.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.08026, allocations: 133.2 kB / 400.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.08027, allocations: 4 kB / 400.4 MB, free: 13.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002075/0.08048, allocations: 129.7 kB / 400.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.08051, allocations: 12.06 kB / 400.5 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.08052, allocations: 4 kB / 400.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.08054, allocations: 0 / 400.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.46e-05/0.08064, allocations: 35.86 kB / 400.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.08065, allocations: 4 kB / 400.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.051e-05/0.08072, allocations: 8 kB / 400.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.08074, allocations: 4 kB / 400.6 MB, free: 13.04 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 ($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 9.43e-05/0.08084, allocations: 141.6 kB / 400.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/0.08102, allocations: 105.5 kB / 400.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.514e-05/0.08106, allocations: 12.31 kB / 400.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.08107, allocations: 0 / 400.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.08109, allocations: 7.984 kB / 400.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.08109, allocations: 0 / 400.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.08127, allocations: 189.5 kB / 401 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.08127, allocations: 0 / 401 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.08138, allocations: 23.98 kB / 401 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.08139, allocations: 3.984 kB / 401 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.08141, allocations: 4 kB / 401 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.08142, allocations: 8 kB / 401 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.08142, allocations: 0 / 401 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.0817, allocations: 232.9 kB / 401.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.455e-05/0.08177, allocations: 93 kB / 401.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.0818, allocations: 12 kB / 401.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.762e-05/0.08189, allocations: 4 kB / 401.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.461e-05/0.08192, allocations: 3.984 kB / 401.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.08194, allocations: 4 kB / 401.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.668e-05/0.08201, allocations: 115.2 kB / 401.5 MB, free: 12 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.08201, allocations: 0 / 401.5 MB, free: 12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002375/0.08226, allocations: 12 kB / 401.5 MB, free: 11.98 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.65e-05/0.08236, allocations: 99.19 kB / 401.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.08256, allocations: 80.03 kB / 401.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.08258, allocations: 3.938 kB / 401.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.93e-05/0.08262, allocations: 15.98 kB / 401.7 MB, free: 11.78 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.08303, allocations: 68.69 kB / 401.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005623/0.0836, allocations: 302.9 kB / 402.1 MB, free: 11.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.08387, allocations: 0.7121 MB / 402.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.309e-05/0.08391, allocations: 4.562 kB / 402.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.08395, allocations: 19.36 kB / 402.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.08396, allocations: 0 / 402.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of Templates: time 0.002643/0.08661, allocations: 0.8653 MB / 403.7 MB, free: 9.758 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