Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|subSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|subSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 103.7 kB / 16.31 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001988/0.001988, allocations: 190.5 kB / 17.24 MB, free: 5.922 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.895/1.895, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0846/0.0846, allocations: 12.6 MB / 283.1 MB, free: 15.48 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.001869/0.001869, allocations: 87.88 kB / 343.5 MB, free: 2.953 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3132, allocations: 49.39 MB / 392.9 MB, free: 49.45 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample): time 0.003214/0.3164, allocations: 1.566 MB / 394.4 MB, free: 48.38 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009271/0.3174, allocations: 0.509 MB / 395 MB, free: 48.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.3175, allocations: 5.125 kB / 395 MB, free: 48.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.828e-05/0.3176, allocations: 9.641 kB / 395 MB, free: 48.01 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001488/0.3178, allocations: 11.98 kB / 395 MB, free: 48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.3181, allocations: 55.03 kB / 395 MB, free: 47.97 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.3182, allocations: 46.95 kB / 395.1 MB, free: 47.95 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.3183, allocations: 22.45 kB / 395.1 MB, free: 47.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.309e-05/0.3184, allocations: 18.5 kB / 395.1 MB, free: 47.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.702e-05/0.3185, allocations: 24.95 kB / 395.1 MB, free: 47.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.3185, allocations: 3.438 kB / 395.1 MB, free: 47.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.65e-05/0.3185, allocations: 3.094 kB / 395.2 MB, free: 47.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.825e-05/0.3186, allocations: 14.81 kB / 395.2 MB, free: 47.9 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.278e-05/0.3187, allocations: 26.97 kB / 395.2 MB, free: 47.88 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.3188, allocations: 49.89 kB / 395.2 MB, free: 47.86 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3188, allocations: 1.031 kB / 395.2 MB, free: 47.86 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.3188, allocations: 0 / 395.2 MB, free: 47.86 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.874e-06/0.3188, allocations: 7.938 kB / 395.3 MB, free: 47.85 MB / 318.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.000451/0.3193, allocations: 377.7 kB / 395.6 MB, free: 47.47 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3193, allocations: 9.188 kB / 395.6 MB, free: 47.47 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.3194, allocations: 9.219 kB / 395.6 MB, free: 47.46 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.3196, allocations: 196.1 kB / 395.8 MB, free: 47.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.3196, allocations: 1.406 kB / 395.8 MB, free: 47.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.3196, allocations: 7.688 kB / 395.8 MB, free: 47.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002768/0.3199, allocations: 119.5 kB / 396 MB, free: 47.15 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.3199, allocations: 1.281 kB / 396 MB, free: 47.15 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.3199, allocations: 0.5156 kB / 396 MB, free: 47.15 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3199, allocations: 0.9062 kB / 396 MB, free: 47.15 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.09e-05/0.32, allocations: 25.2 kB / 396 MB, free: 47.14 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002987/0.3203, allocations: 276.6 kB / 396.3 MB, free: 46.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.77e-05/0.3204, allocations: 66.45 kB / 396.3 MB, free: 46.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.26e-05/0.3205, allocations: 35.36 kB / 396.4 MB, free: 46.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.3205, allocations: 5.859 kB / 396.4 MB, free: 46.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.3206, allocations: 37.81 kB / 396.4 MB, free: 46.69 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3206, allocations: 0 / 396.4 MB, free: 46.69 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002766/0.3209, allocations: 88.95 kB / 396.5 MB, free: 46.63 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.3209, allocations: 109.7 kB / 396.6 MB, free: 46.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.3211, allocations: 144.3 kB / 396.7 MB, free: 46.39 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.3211, allocations: 30.73 kB / 396.8 MB, free: 46.36 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.641e-05/0.3211, allocations: 91.48 kB / 396.8 MB, free: 46.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.3212, allocations: 5.812 kB / 396.9 MB, free: 46.26 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.3212, allocations: 19.77 kB / 396.9 MB, free: 46.24 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.373e-05/0.3213, allocations: 321.5 kB / 397.2 MB, free: 45.92 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.605e-05/0.3213, allocations: 12.25 kB / 397.2 MB, free: 45.92 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.151e-05/0.3214, allocations: 29.88 kB / 397.2 MB, free: 45.89 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.323e-05/0.3215, allocations: 58.48 kB / 397.3 MB, free: 45.84 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3215, allocations: 0 / 397.3 MB, free: 45.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001283/0.3216, allocations: 64.97 kB / 397.3 MB, free: 45.8 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3216, allocations: 3.562 kB / 397.4 MB, free: 45.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3217, allocations: 1.406 kB / 397.4 MB, free: 45.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3217, allocations: 1.438 kB / 397.4 MB, free: 45.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.671e-05/0.3218, allocations: 13.69 kB / 397.4 MB, free: 45.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.3218, allocations: 6.016 kB / 397.4 MB, free: 45.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.49e-05/0.3218, allocations: 12.08 kB / 397.4 MB, free: 45.78 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.3219, allocations: 5.375 kB / 397.4 MB, free: 45.78 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 7.104e-05/0.3219, allocations: 122.8 kB / 397.5 MB, free: 45.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.772e-05/0.322, allocations: 53.91 kB / 397.6 MB, free: 45.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/0.3221, allocations: 12.16 kB / 397.6 MB, free: 45.61 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3221, allocations: 1.531 kB / 397.6 MB, free: 45.61 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.3221, allocations: 6.031 kB / 397.6 MB, free: 45.6 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3221, allocations: 0 / 397.6 MB, free: 45.6 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.3222, allocations: 178.6 kB / 397.8 MB, free: 45.4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3223, allocations: 1.312 kB / 397.8 MB, free: 45.4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.008e-05/0.3223, allocations: 9.359 kB / 397.8 MB, free: 45.4 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3223, allocations: 0 / 397.8 MB, free: 45.4 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.3223, allocations: 1.984 kB / 397.8 MB, free: 45.4 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.3224, allocations: 1.781 kB / 397.8 MB, free: 45.4 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3224, allocations: 1.281 kB / 397.8 MB, free: 45.4 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.3225, allocations: 188.9 kB / 398 MB, free: 45.22 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.845e-05/0.3226, allocations: 94.09 kB / 398 MB, free: 45.12 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.3226, allocations: 1.406 kB / 398.1 MB, free: 45.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.859e-05/0.3227, allocations: 3.031 kB / 398.1 MB, free: 45.12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.3227, allocations: 1.438 kB / 398.1 MB, free: 45.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.3227, allocations: 1.438 kB / 398.1 MB, free: 45.12 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.583e-05/0.3228, allocations: 123 kB / 398.2 MB, free: 45.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3228, allocations: 0 / 398.2 MB, free: 45.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002243/0.323, allocations: 5.938 kB / 398.2 MB, free: 45.02 MB / 318.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 8.5e-05/0.3231, allocations: 92.06 kB / 398.3 MB, free: 44.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001438/0.3233, allocations: 39.56 kB / 398.3 MB, free: 44.91 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3233, allocations: 0 / 398.3 MB, free: 44.91 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.578e-05/0.3233, allocations: 13.62 kB / 398.3 MB, free: 44.9 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.3238, allocations: 44.25 kB / 398.4 MB, free: 44.88 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/0.3241, allocations: 175.7 kB / 398.5 MB, free: 44.72 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.3243, allocations: 0.6981 MB / 399.2 MB, free: 44.01 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.368e-05/0.3244, allocations: 5.922 kB / 399.2 MB, free: 44 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.985e-05/0.3244, allocations: 9.75 kB / 399.3 MB, free: 44 MB / 318.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3244, allocations: 0 / 399.3 MB, free: 44 MB / 318.1 MB Notification: Performance of Templates: time 0.003405/0.3278, allocations: 0.5902 MB / 399.8 MB, free: 43.7 MB / 318.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches