Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001631/0.001631, allocations: 180.9 kB / 8.049 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 205.3 MB / 213.8 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008014/0.0008014, allocations: 86.3 kB / 261.8 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06838/0.06838, allocations: 12.59 MB / 322.3 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.816e-05/1.818e-05, allocations: 4 kB / 378.9 MB, free: 6.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2346, allocations: 50.37 MB / 429.3 MB, free: 18.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1001/0.3348, allocations: 77.74 MB / 0.4952 GB, free: 4.508 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.335, allocations: 75.95 kB / 0.4952 GB, free: 4.434 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003771/0.3388, allocations: 1.407 MB / 0.4966 GB, free: 3.027 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.3388, allocations: 4 kB / 0.4966 GB, free: 3.023 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.3389, allocations: 7.938 kB / 0.4966 GB, free: 3.016 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003096/0.3392, allocations: 346.4 kB / 0.4969 GB, free: 2.633 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3392, allocations: 12.03 kB / 0.497 GB, free: 2.621 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.3393, allocations: 7.906 kB / 0.497 GB, free: 2.613 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.3394, allocations: 186.8 kB / 0.4971 GB, free: 2.391 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.3395, allocations: 7.938 kB / 0.4972 GB, free: 2.383 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.3395, allocations: 4 kB / 0.4972 GB, free: 2.379 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.725e-05/0.3395, allocations: 16 kB / 0.4972 GB, free: 2.363 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.3397, allocations: 108.9 kB / 0.4973 GB, free: 2.238 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.3398, allocations: 0 / 0.4973 GB, free: 2.238 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.3398, allocations: 0 / 0.4973 GB, free: 2.238 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3398, allocations: 4 kB / 0.4973 GB, free: 2.234 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.3401, allocations: 250.3 kB / 0.4975 GB, free: 1.949 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.3403, allocations: 134.2 kB / 0.4976 GB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.496e-05/0.3404, allocations: 25.72 kB / 0.4977 GB, free: 1.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.3404, allocations: 4 kB / 0.4977 GB, free: 1.746 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.3404, allocations: 34.56 kB / 0.4977 GB, free: 1.703 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3404, allocations: 0 / 0.4977 GB, free: 1.703 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000158/0.3406, allocations: 53.62 kB / 0.4978 GB, free: 1.645 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.3407, allocations: 81.11 kB / 0.4978 GB, free: 1.547 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.3408, allocations: 125.2 kB / 0.498 GB, free: 1.414 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.3408, allocations: 29.73 kB / 0.498 GB, free: 1.379 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.169e-05/0.3408, allocations: 84.14 kB / 0.4981 GB, free: 1.293 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.088e-05/0.3409, allocations: 0 / 0.4981 GB, free: 1.293 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-06/0.3409, allocations: 0 / 0.4981 GB, free: 1.293 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.845e-05/0.341, allocations: 322.8 kB / 0.4984 GB, free: 0.9688 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.346e-05/0.341, allocations: 4 kB / 0.4984 GB, free: 0.9648 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.614e-05/0.341, allocations: 31.38 kB / 0.4984 GB, free: 0.9219 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.001e-05/0.3411, allocations: 8 kB / 0.4984 GB, free: 0.9141 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3411, allocations: 0 / 0.4984 GB, free: 0.9141 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.009e-05/0.3411, allocations: 61.48 kB / 0.4985 GB, free: 0.8477 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.3412, allocations: 4 kB / 0.4985 GB, free: 0.8438 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3412, allocations: 4 kB / 0.4985 GB, free: 0.8398 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.3412, allocations: 0 / 0.4985 GB, free: 0.8398 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.494e-05/0.3413, allocations: 16.11 kB / 0.4985 GB, free: 0.8242 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.3413, allocations: 0 / 0.4985 GB, free: 0.8242 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.906e-05/0.3413, allocations: 4 kB / 0.4985 GB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.3413, allocations: 4 kB / 0.4985 GB, free: 0.8164 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.125e-05/0.3414, allocations: 108.9 kB / 0.4986 GB, free: 0.7031 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.485e-05/0.3415, allocations: 65.61 kB / 0.4987 GB, free: 0.6328 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.3415, allocations: 12.34 kB / 0.4987 GB, free: 0.6172 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.3415, allocations: 0 / 0.4987 GB, free: 0.6172 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3415, allocations: 4 kB / 0.4987 GB, free: 0.6133 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3415, allocations: 3.984 kB / 0.4987 GB, free: 0.6094 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.3417, allocations: 142.2 kB / 0.4988 GB, free: 444 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3417, allocations: 4 kB / 0.4988 GB, free: 440 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.045e-05/0.3417, allocations: 8 kB / 0.4988 GB, free: 432 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3417, allocations: 0 / 0.4988 GB, free: 432 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.3418, allocations: 3.953 kB / 0.4988 GB, free: 428 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3418, allocations: 0 / 0.4988 GB, free: 428 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3418, allocations: 0 / 0.4988 GB, free: 428 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.3419, allocations: 182 kB / 0.499 GB, free: 220 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.548e-05/0.342, allocations: 89 kB / 0.4991 GB, free: 112 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.342, allocations: 3.953 kB / 0.4991 GB, free: 108 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.883e-05/0.3421, allocations: 4 kB / 0.4991 GB, free: 104 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.3421, allocations: 0 / 0.4991 GB, free: 104 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.3421, allocations: 7.938 kB / 0.4991 GB, free: 96 kB / 346.7 MB Notification: Performance of sorting global known variables: time 7.393e-05/0.3422, allocations: 104.7 kB / 0.4992 GB, free: 15.99 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3422, allocations: 0 / 0.4992 GB, free: 15.99 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002237/0.3424, allocations: 8 kB / 0.4992 GB, free: 15.98 MB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.359e-05/0.3425, allocations: 95.23 kB / 0.4993 GB, free: 15.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.914e-05/0.3426, allocations: 23.94 kB / 0.4993 GB, free: 15.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3426, allocations: 0 / 0.4993 GB, free: 15.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.293e-05/0.3426, allocations: 0 / 0.4993 GB, free: 15.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.3428, allocations: 23.39 kB / 0.4994 GB, free: 15.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002272/0.3431, allocations: 97.17 kB / 0.4995 GB, free: 15.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.3433, allocations: 0.7001 MB / 0.5001 GB, free: 14.99 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.79e-05/0.3434, allocations: 7.938 kB / 0.5001 GB, free: 14.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.3434, allocations: 7.438 kB / 0.5001 GB, free: 14.98 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3434, allocations: 0 / 0.5001 GB, free: 14.98 MB / 362.7 MB Notification: Performance of Templates: time 0.002015/0.3454, allocations: 447.5 kB / 0.5006 GB, free: 14.54 MB / 362.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches