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.0008559/0.0008559, allocations: 97.72 kB / 16.06 MB, free: 40 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.0009327/0.0009328, allocations: 181.1 kB / 16.96 MB, free: 6.895 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.239/1.239, allocations: 205.4 MB / 223.1 MB, free: 5.512 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.06176/0.06176, allocations: 12.61 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.0006868/0.0006868, allocations: 20 kB / 345.2 MB, free: 20.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07708/0.07778, allocations: 50.38 MB / 395.6 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample): time 0.001601/0.07943, allocations: 1.286 MB / 396.8 MB, free: 1.129 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007308/0.08017, allocations: 0.4958 MB / 397.3 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.694e-05/0.08025, allocations: 0 / 397.3 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.814e-05/0.08029, allocations: 3.938 kB / 397.3 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.0804, allocations: 11.92 kB / 397.4 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.08062, allocations: 43.91 kB / 397.4 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.063e-05/0.08071, allocations: 51.78 kB / 397.4 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.412e-05/0.0808, allocations: 12.19 kB / 397.5 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.594e-05/0.08086, allocations: 23.91 kB / 397.5 MB, free: 492 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.737e-05/0.08092, allocations: 15.88 kB / 397.5 MB, free: 476 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.08094, allocations: 4 kB / 397.5 MB, free: 472 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.767e-06/0.08095, allocations: 0 / 397.5 MB, free: 472 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.091e-05/0.081, allocations: 15.86 kB / 397.5 MB, free: 456 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/0.08105, allocations: 45.52 kB / 397.6 MB, free: 404 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.325e-05/0.08115, allocations: 51.8 kB / 397.6 MB, free: 352 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.894e-06/0.08116, allocations: 4 kB / 397.6 MB, free: 348 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.08117, allocations: 3.938 kB / 397.6 MB, free: 344 kB / 286.1 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.08117, allocations: 4 kB / 397.6 MB, free: 340 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004224/0.0816, allocations: 367.4 kB / 398 MB, free: 15.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.08164, allocations: 12.03 kB / 398 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.08168, allocations: 8.844 kB / 398 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.08188, allocations: 200 kB / 398.2 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.0819, allocations: 8.375 kB / 398.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.08192, allocations: 384 / 398.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.08219, allocations: 122 kB / 398.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.08221, allocations: 0 / 398.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.08223, allocations: 0 / 398.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.08224, allocations: 4 kB / 398.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.427e-05/0.08233, allocations: 31.91 kB / 398.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003157/0.08265, allocations: 266.6 kB / 398.6 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.08278, allocations: 75.78 kB / 398.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.63e-05/0.08286, allocations: 30.64 kB / 398.7 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.08289, allocations: 11.94 kB / 398.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.998e-05/0.08294, allocations: 38.55 kB / 398.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.08295, allocations: 0 / 398.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002518/0.08321, allocations: 85.52 kB / 398.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.702e-05/0.08329, allocations: 115.1 kB / 399 MB, free: 14.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.08341, allocations: 149.5 kB / 399.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.08343, allocations: 25.7 kB / 399.1 MB, free: 14.56 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.854e-05/0.08348, allocations: 88.14 kB / 399.2 MB, free: 14.47 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.445e-05/0.0835, allocations: 7.906 kB / 399.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.048e-05/0.08353, allocations: 9.719 kB / 399.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.08364, allocations: 326.8 kB / 399.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.05e-05/0.08368, allocations: 8 kB / 399.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.533e-05/0.08374, allocations: 39.42 kB / 399.6 MB, free: 14.06 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.807e-05/0.08384, allocations: 51.36 kB / 399.7 MB, free: 14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.08385, allocations: 0 / 399.7 MB, free: 14 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001285/0.08398, allocations: 73.52 kB / 399.7 MB, free: 13.92 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.084, allocations: 4 kB / 399.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.08401, allocations: 4.125 kB / 399.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.928e-06/0.08403, allocations: 4 kB / 399.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.014e-05/0.0841, allocations: 11.94 kB / 399.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.882e-06/0.08412, allocations: 3.984 kB / 399.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.873e-05/0.08416, allocations: 8 kB / 399.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.08418, allocations: 7.938 kB / 399.8 MB, free: 13.88 MB / 302.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.553e-05/0.08426, allocations: 117.8 kB / 399.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.142e-05/0.08434, allocations: 57.53 kB / 399.9 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.652e-05/0.08437, allocations: 15.94 kB / 400 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.08438, allocations: 0 / 400 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.08439, allocations: 4 kB / 400 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.0844, allocations: 3.984 kB / 400 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.08455, allocations: 173.6 kB / 400.1 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.08456, allocations: 0 / 400.1 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.488e-05/0.08462, allocations: 8 kB / 400.1 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.08463, allocations: 4.094 kB / 400.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.08464, allocations: 3.984 kB / 400.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.08465, allocations: 3.984 kB / 400.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.08466, allocations: 7.984 kB / 400.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.08484, allocations: 189 kB / 400.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/0.0849, allocations: 89 kB / 400.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.08492, allocations: 4 kB / 400.4 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.575e-05/0.08499, allocations: 4 kB / 400.4 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.494e-05/0.08503, allocations: 4 kB / 400.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.08504, allocations: 11.92 kB / 400.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.998e-05/0.0851, allocations: 103.3 kB / 400.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08511, allocations: 0 / 400.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002143/0.08533, allocations: 11.94 kB / 400.6 MB, free: 12.97 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: 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 7.715e-05/0.08541, allocations: 91.25 kB / 400.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001267/0.08554, allocations: 43.91 kB / 400.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.08555, allocations: 0 / 400.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.784e-05/0.0856, allocations: 8 kB / 400.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.08594, allocations: 35.89 kB / 400.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002989/0.08625, allocations: 203.1 kB / 400.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.0865, allocations: 0.6965 MB / 401.6 MB, free: 11.83 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.49e-05/0.08653, allocations: 4 kB / 401.6 MB, free: 11.83 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.249e-05/0.08656, allocations: 11.44 kB / 401.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.08656, allocations: 0 / 401.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of Templates: time 0.002347/0.08892, allocations: 0.5478 MB / 402.2 MB, free: 11.27 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches