Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="backSample1.y|sample.y|shiftSample1.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="backSample1.y|sample.y|shiftSample1.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 105.6 kB / 16.03 MB, free: 6.367 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.00112/0.001121, allocations: 187.1 kB / 16.95 MB, free: 6.176 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.795/1.795, allocations: 205.1 MB / 222.8 MB, free: 12.42 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.0908/0.0908, allocations: 12.59 MB / 282.7 MB, free: 15.63 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.001773/0.001773, allocations: 91.86 kB / 343 MB, free: 3.289 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3403, allocations: 49.37 MB / 392.4 MB, free: 49.37 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample): time 0.003441/0.3438, allocations: 1.668 MB / 394 MB, free: 48.22 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000986/0.3448, allocations: 0.5434 MB / 394.6 MB, free: 47.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.3449, allocations: 6.344 kB / 394.6 MB, free: 47.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.52e-05/0.345, allocations: 2.406 kB / 394.6 MB, free: 47.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.3452, allocations: 19.56 kB / 394.6 MB, free: 47.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.3455, allocations: 48.58 kB / 394.6 MB, free: 47.79 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.3456, allocations: 57.77 kB / 394.7 MB, free: 47.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.3457, allocations: 24.77 kB / 394.7 MB, free: 47.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.243e-05/0.3458, allocations: 33.42 kB / 394.8 MB, free: 47.73 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.803e-05/0.3459, allocations: 33.17 kB / 394.8 MB, free: 47.71 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.3459, allocations: 2.875 kB / 394.8 MB, free: 47.71 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.449e-05/0.3459, allocations: 4.219 kB / 394.8 MB, free: 47.71 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.615e-05/0.346, allocations: 14.88 kB / 394.8 MB, free: 47.71 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.072e-05/0.346, allocations: 36.91 kB / 394.8 MB, free: 47.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.3462, allocations: 63.59 kB / 394.9 MB, free: 47.65 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3462, allocations: 0 / 394.9 MB, free: 47.65 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3462, allocations: 0 / 394.9 MB, free: 47.65 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.3462, allocations: 0.7031 kB / 394.9 MB, free: 47.65 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004881/0.3467, allocations: 389.8 kB / 395.3 MB, free: 47.26 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.187e-05/0.3468, allocations: 8.625 kB / 395.3 MB, free: 47.26 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.945e-05/0.3468, allocations: 13.44 kB / 395.3 MB, free: 47.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.347, allocations: 204.3 kB / 395.5 MB, free: 47.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.3471, allocations: 5.812 kB / 395.5 MB, free: 47.03 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.3471, allocations: 2.938 kB / 395.5 MB, free: 47.03 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000353/0.3474, allocations: 138.8 kB / 395.7 MB, free: 46.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.3475, allocations: 3.938 kB / 395.7 MB, free: 46.92 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.3475, allocations: 5.531 kB / 395.7 MB, free: 46.92 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.3475, allocations: 1.641 kB / 395.7 MB, free: 46.92 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.607e-05/0.3476, allocations: 28.39 kB / 395.7 MB, free: 46.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003466/0.348, allocations: 292.2 kB / 396 MB, free: 46.6 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.3481, allocations: 92.48 kB / 396.1 MB, free: 46.49 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.592e-05/0.3482, allocations: 41 kB / 396.1 MB, free: 46.45 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.3482, allocations: 10.67 kB / 396.1 MB, free: 46.45 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.3482, allocations: 40.64 kB / 396.2 MB, free: 46.4 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.3482, allocations: 1.094 kB / 396.2 MB, free: 46.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002849/0.3485, allocations: 99.39 kB / 396.3 MB, free: 46.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.3486, allocations: 132.6 kB / 396.4 MB, free: 46.19 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.3487, allocations: 151.2 kB / 396.5 MB, free: 46.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.3488, allocations: 31.28 kB / 396.6 MB, free: 46.04 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.815e-05/0.3488, allocations: 91.75 kB / 396.7 MB, free: 45.95 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.3488, allocations: 11.55 kB / 396.7 MB, free: 45.94 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.3489, allocations: 23.42 kB / 396.7 MB, free: 45.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.801e-05/0.3489, allocations: 319.7 kB / 397 MB, free: 45.6 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.839e-05/0.349, allocations: 12.53 kB / 397 MB, free: 45.59 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.293e-05/0.3491, allocations: 54.86 kB / 397.1 MB, free: 45.54 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.885e-05/0.3492, allocations: 70.31 kB / 397.1 MB, free: 45.47 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3492, allocations: 0 / 397.1 MB, free: 45.47 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001414/0.3493, allocations: 84.23 kB / 397.2 MB, free: 45.42 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3493, allocations: 5.906 kB / 397.2 MB, free: 45.42 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3494, allocations: 1.281 kB / 397.2 MB, free: 45.42 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.3494, allocations: 7.531 kB / 397.2 MB, free: 45.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-05/0.3495, allocations: 11.55 kB / 397.2 MB, free: 45.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3495, allocations: 10.95 kB / 397.3 MB, free: 45.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.595e-05/0.3495, allocations: 3.25 kB / 397.3 MB, free: 45.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.3496, allocations: 4.859 kB / 397.3 MB, free: 45.41 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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 5.842e-05/0.3496, allocations: 127.2 kB / 397.4 MB, free: 45.28 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.268e-05/0.3497, allocations: 62.05 kB / 397.4 MB, free: 45.24 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.23e-05/0.3497, allocations: 16.75 kB / 397.5 MB, free: 45.23 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3498, allocations: 1.875 kB / 397.5 MB, free: 45.23 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.3498, allocations: 5.75 kB / 397.5 MB, free: 45.22 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3498, allocations: 0.5625 kB / 397.5 MB, free: 45.22 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.3499, allocations: 186 kB / 397.7 MB, free: 45.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3499, allocations: 1.594 kB / 397.7 MB, free: 45.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-05/0.35, allocations: 17.12 kB / 397.7 MB, free: 45.01 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.35, allocations: 1.5 kB / 397.7 MB, free: 45.01 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.35, allocations: 1.984 kB / 397.7 MB, free: 45.01 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.35, allocations: 6.312 kB / 397.7 MB, free: 45.01 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.35, allocations: 0.9062 kB / 397.7 MB, free: 45.01 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.3502, allocations: 200.9 kB / 397.9 MB, free: 44.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.794e-05/0.3503, allocations: 100.6 kB / 398 MB, free: 44.72 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.3503, allocations: 1.562 kB / 398 MB, free: 44.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.036e-05/0.3504, allocations: 3.422 kB / 398 MB, free: 44.72 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.3504, allocations: 2.922 kB / 398 MB, free: 44.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.3504, allocations: 6.5 kB / 398 MB, free: 44.71 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.475e-05/0.3505, allocations: 119.4 kB / 398.1 MB, free: 44.62 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3505, allocations: 0 / 398.1 MB, free: 44.62 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.3507, allocations: 8.062 kB / 398.1 MB, free: 44.62 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.099e-05/0.3508, allocations: 97 kB / 398.2 MB, free: 44.54 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001499/0.351, allocations: 43.2 kB / 398.3 MB, free: 44.52 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.351, allocations: 6 kB / 398.3 MB, free: 44.52 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.629e-05/0.351, allocations: 11.47 kB / 398.3 MB, free: 44.52 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.3514, allocations: 53 kB / 398.3 MB, free: 44.49 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003812/0.3518, allocations: 230.2 kB / 398.5 MB, free: 44.29 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.3519, allocations: 0.7003 MB / 399.2 MB, free: 43.59 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.677e-05/0.352, allocations: 5.859 kB / 399.3 MB, free: 43.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.352, allocations: 10.88 kB / 399.3 MB, free: 43.58 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.352, allocations: 7.938 kB / 399.3 MB, free: 43.57 MB / 318.1 MB Notification: Performance of Templates: time 0.003425/0.3555, allocations: 0.8141 MB / 400.1 MB, free: 43.17 MB / 318.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches