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.0007597/0.00076, allocations: 96.94 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.0007/0.0007001, allocations: 181.7 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.248/1.248, allocations: 205.4 MB / 223.1 MB, free: 5.508 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.06211/0.06211, allocations: 12.61 MB / 284 MB, free: 8.578 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.0006921/0.0006921, allocations: 20 kB / 345.2 MB, free: 20.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07606/0.07676, allocations: 50.39 MB / 395.6 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample): time 0.001622/0.07841, allocations: 1.325 MB / 396.9 MB, free: 1.09 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007992/0.07924, allocations: 0.5347 MB / 397.4 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.58e-05/0.07935, allocations: 7.938 kB / 397.4 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.144e-05/0.07939, allocations: 0 / 397.4 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.0795, allocations: 11.81 kB / 397.4 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.07976, allocations: 47.89 kB / 397.5 MB, free: 492 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.104e-05/0.07986, allocations: 51.86 kB / 397.5 MB, free: 440 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.864e-05/0.07995, allocations: 23.97 kB / 397.6 MB, free: 416 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.358e-05/0.08002, allocations: 27.8 kB / 397.6 MB, free: 388 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.906e-05/0.08008, allocations: 19.86 kB / 397.6 MB, free: 368 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.0801, allocations: 0 / 397.6 MB, free: 368 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.849e-06/0.08012, allocations: 4 kB / 397.6 MB, free: 364 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.179e-05/0.08017, allocations: 15.92 kB / 397.6 MB, free: 348 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.161e-05/0.08022, allocations: 57.44 kB / 397.7 MB, free: 284 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.909e-05/0.08032, allocations: 55.73 kB / 397.7 MB, free: 228 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.08033, allocations: 4 kB / 397.7 MB, free: 224 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.08033, allocations: 4 kB / 397.7 MB, free: 220 kB / 286.1 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.08034, allocations: 0 / 397.7 MB, free: 220 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003942/0.08074, allocations: 367.5 kB / 398.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.08078, allocations: 12.02 kB / 398.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.08082, allocations: 20.75 kB / 398.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.08101, allocations: 204 kB / 398.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.08103, allocations: 384 / 398.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.08105, allocations: 12.36 kB / 398.3 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.08133, allocations: 147 kB / 398.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.08135, allocations: 3.938 kB / 398.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.08136, allocations: 0 / 398.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.08137, allocations: 0 / 398.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.027e-05/0.08147, allocations: 35.98 kB / 398.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002871/0.08176, allocations: 287.4 kB / 398.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.08188, allocations: 90.48 kB / 398.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.373e-05/0.08197, allocations: 51.42 kB / 398.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.082, allocations: 11.92 kB / 399 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.08202, allocations: 34.56 kB / 399 MB, free: 14.74 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.08203, allocations: 0 / 399 MB, free: 14.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002669/0.0823, allocations: 121.6 kB / 399.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.248e-05/0.08237, allocations: 132.5 kB / 399.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.08249, allocations: 150.3 kB / 399.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.08251, allocations: 25.7 kB / 399.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/0.08256, allocations: 92.14 kB / 399.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.08258, allocations: 4.203 kB / 399.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.33e-05/0.08261, allocations: 21.72 kB / 399.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.452e-05/0.0827, allocations: 318.8 kB / 399.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.316e-05/0.08275, allocations: 11.98 kB / 399.8 MB, free: 13.81 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.536e-05/0.08281, allocations: 53.08 kB / 399.9 MB, free: 13.74 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.995e-05/0.08292, allocations: 69.08 kB / 400 MB, free: 13.65 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.08293, allocations: 4 kB / 400 MB, free: 13.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000145/0.08308, allocations: 93.39 kB / 400.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.08311, allocations: 8 kB / 400.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.08312, allocations: 0 / 400.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.08313, allocations: 0 / 400.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.508e-05/0.08321, allocations: 16.17 kB / 400.1 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.08323, allocations: 11.94 kB / 400.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.606e-05/0.08328, allocations: 7.938 kB / 400.1 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.0833, allocations: 0 / 400.1 MB, free: 13.51 MB / 302.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 7.651e-05/0.08338, allocations: 129.8 kB / 400.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.528e-05/0.08347, allocations: 65.53 kB / 400.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.08351, allocations: 11.88 kB / 400.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.08352, allocations: 4 kB / 400.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.08353, allocations: 4.094 kB / 400.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.08354, allocations: 0 / 400.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.0837, allocations: 181.5 kB / 400.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.08371, allocations: 4 kB / 400.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.392e-05/0.08377, allocations: 11.98 kB / 400.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.08379, allocations: 4 kB / 400.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-06/0.0838, allocations: 0 / 400.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.08381, allocations: 4 kB / 400.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.08381, allocations: 3.938 kB / 400.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.084, allocations: 206.1 kB / 400.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.463e-05/0.08407, allocations: 93 kB / 400.8 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.08409, allocations: 4 kB / 400.8 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.968e-05/0.08417, allocations: 7.984 kB / 400.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.227e-05/0.0842, allocations: 4 kB / 400.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-06/0.08421, allocations: 4 kB / 400.8 MB, free: 12.67 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.578e-05/0.08428, allocations: 119.1 kB / 400.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.08429, allocations: 0 / 400.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002252/0.08452, allocations: 4 kB / 400.9 MB, free: 12.55 MB / 302.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.211e-05/0.08461, allocations: 107.1 kB / 401.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001384/0.08475, allocations: 47.91 kB / 401.1 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.08476, allocations: 0 / 401.1 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.67e-05/0.0848, allocations: 12 kB / 401.1 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.08519, allocations: 43.86 kB / 401.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003238/0.08552, allocations: 240.3 kB / 401.4 MB, free: 12.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.08574, allocations: 0.7004 MB / 402.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.103e-05/0.08578, allocations: 8.656 kB / 402.1 MB, free: 11.33 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.257e-05/0.08581, allocations: 11.44 kB / 402.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of SimCode: time 1.312e-06/0.08582, allocations: 0 / 402.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of Templates: time 0.002593/0.08841, allocations: 0.765 MB / 402.9 MB, free: 10.55 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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