Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006983/0.0006984, allocations: 103.1 kB / 16.07 MB, free: 32 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.0007027/0.0007027, allocations: 182.2 kB / 16.96 MB, free: 6.879 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.208/1.208, allocations: 205.4 MB / 223.1 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.06038/0.06038, 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.0006469/0.0006469, allocations: 20 kB / 345.2 MB, free: 20.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07694/0.0776, allocations: 50.39 MB / 395.6 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked): time 0.001605/0.07925, allocations: 1.271 MB / 396.8 MB, free: 1.148 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007035/0.07997, allocations: 495.8 kB / 397.3 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.056e-05/0.08006, allocations: 3.938 kB / 397.3 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.0801, allocations: 4 kB / 397.3 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.08021, allocations: 3.938 kB / 397.3 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.08045, allocations: 47.83 kB / 397.4 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.217e-05/0.08054, allocations: 43.78 kB / 397.4 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.911e-05/0.08062, allocations: 4 kB / 397.4 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.029e-05/0.08069, allocations: 19.92 kB / 397.4 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.398e-05/0.08074, allocations: 11.94 kB / 397.4 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.08076, allocations: 0 / 397.4 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.08078, allocations: 4 kB / 397.4 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.393e-05/0.08083, allocations: 19.91 kB / 397.5 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.074e-05/0.08088, allocations: 45.52 kB / 397.5 MB, free: 456 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.586e-05/0.08096, allocations: 35.83 kB / 397.5 MB, free: 420 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.08097, allocations: 0 / 397.5 MB, free: 420 kB / 286.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.08098, allocations: 4 kB / 397.5 MB, free: 416 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.08098, allocations: 0 / 397.5 MB, free: 416 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003832/0.08137, allocations: 363.5 kB / 397.9 MB, free: 4 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.08143, allocations: 8.078 kB / 397.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.08147, allocations: 8.844 kB / 397.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.08167, allocations: 193.4 kB / 398.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.08169, allocations: 4.375 kB / 398.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.08171, allocations: 384 / 398.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.08195, allocations: 97.42 kB / 398.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.08197, allocations: 3.938 kB / 398.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.08199, allocations: 0 / 398.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.082, allocations: 4 kB / 398.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.499e-05/0.08209, allocations: 23.98 kB / 398.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002797/0.08238, allocations: 265.7 kB / 398.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.739e-05/0.08246, allocations: 53.08 kB / 398.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.637e-05/0.08252, allocations: 21.78 kB / 398.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.08254, allocations: 0 / 398.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.08257, allocations: 34.56 kB / 398.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.984e-06/0.08258, allocations: 0 / 398.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002226/0.08281, allocations: 73.59 kB / 398.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.08286, allocations: 81.3 kB / 398.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.08298, allocations: 148.8 kB / 398.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.083, allocations: 33.7 kB / 398.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.08305, allocations: 84.08 kB / 399 MB, free: 14.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.364e-05/0.08307, allocations: 4 kB / 399 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.411e-05/0.0831, allocations: 9.719 kB / 399 MB, free: 14.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.388e-05/0.0832, allocations: 322.8 kB / 399.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.912e-05/0.08324, allocations: 8 kB / 399.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.89e-05/0.08329, allocations: 25.7 kB / 399.4 MB, free: 14.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.593e-05/0.08337, allocations: 33.7 kB / 399.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.08338, allocations: 0 / 399.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001179/0.08351, allocations: 69.53 kB / 399.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.08353, allocations: 8 kB / 399.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.08354, allocations: 0 / 399.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.08356, allocations: 0 / 399.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.326e-05/0.08363, allocations: 7.984 kB / 399.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.08364, allocations: 0 / 399.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.395e-05/0.08368, allocations: 4 kB / 399.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-06/0.08369, allocations: 64 / 399.5 MB, free: 14.19 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.042e-05/0.08377, allocations: 129.7 kB / 399.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/0.08383, allocations: 37.59 kB / 399.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.08386, allocations: 11.88 kB / 399.7 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.08387, allocations: 0 / 399.7 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.08387, allocations: 0 / 399.7 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.08388, allocations: 4 kB / 399.7 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.08403, allocations: 169.6 kB / 399.8 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.08404, allocations: 0 / 399.8 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.459e-05/0.08409, allocations: 12.02 kB / 399.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.264e-05/0.08411, allocations: 4 kB / 399.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.08412, allocations: 0 / 399.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.08413, allocations: 3.938 kB / 399.9 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.08414, allocations: 0 / 399.9 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.0843, allocations: 164.3 kB / 400 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.08437, allocations: 93 kB / 400.1 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.08438, allocations: 3.984 kB / 400.1 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.156e-05/0.08445, allocations: 4 kB / 400.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.178e-05/0.08448, allocations: 0 / 400.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.08449, allocations: 4 kB / 400.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.972e-05/0.08455, allocations: 107.2 kB / 400.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08456, allocations: 0 / 400.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002049/0.08477, allocations: 4 kB / 400.2 MB, free: 13.35 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.507e-05/0.08485, allocations: 95.28 kB / 400.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001156/0.08497, allocations: 27.92 kB / 400.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.08498, allocations: 0 / 400.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.16e-05/0.08503, allocations: 11.98 kB / 400.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.08535, allocations: 24.16 kB / 400.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/0.08564, allocations: 189.1 kB / 400.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002108/0.08586, allocations: 0.6848 MB / 401.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.714e-05/0.0859, allocations: 12.09 kB / 401.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.165e-05/0.08592, allocations: 7.438 kB / 401.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.08593, allocations: 3.938 kB / 401.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of Templates: time 0.002003/0.08794, allocations: 434.1 kB / 401.7 MB, free: 11.82 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches