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.001537/0.001537, allocations: 181 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.2 MB / 219 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 89.56 kB / 267.1 MB, free: 9.281 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.07949/0.07949, allocations: 12.58 MB / 327.7 MB, free: 12.5 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.39e-05/2.402e-05, allocations: 8 kB / 386 MB, free: 69.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08223/0.08227, allocations: 50.38 MB / 436.4 MB, free: 19.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3193/0.4016, allocations: 78.4 MB / 0.5027 GB, free: 11.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003668/0.4021, allocations: 84.78 kB / 0.5028 GB, free: 11.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004675/0.4068, allocations: 1.404 MB / 0.5042 GB, free: 11.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.4068, allocations: 3.938 kB / 0.5042 GB, free: 11.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.4068, allocations: 7.688 kB / 0.5042 GB, free: 11.54 MB / 330.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.0003558/0.4072, allocations: 354.1 kB / 0.5045 GB, free: 11.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/0.4073, allocations: 7.844 kB / 0.5045 GB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.4073, allocations: 7.75 kB / 0.5045 GB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.4075, allocations: 191.1 kB / 0.5047 GB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.4075, allocations: 3.953 kB / 0.5047 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.4076, allocations: 7.828 kB / 0.5047 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002781/0.4079, allocations: 116.6 kB / 0.5048 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.4079, allocations: 0 / 0.5048 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.4079, allocations: 0 / 0.5048 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.4079, allocations: 0 / 0.5048 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.727e-05/0.408, allocations: 17.69 kB / 0.5048 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.4083, allocations: 276.1 kB / 0.5051 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.4085, allocations: 131.6 kB / 0.5052 GB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.015e-05/0.4086, allocations: 28.48 kB / 0.5053 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.4086, allocations: 4 kB / 0.5053 GB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.426e-05/0.4086, allocations: 30.56 kB / 0.5053 GB, free: 10.4 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.4086, allocations: 3.938 kB / 0.5053 GB, free: 10.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001799/0.4088, allocations: 65.84 kB / 0.5054 GB, free: 10.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.4089, allocations: 77.11 kB / 0.5054 GB, free: 10.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.409, allocations: 125.4 kB / 0.5056 GB, free: 10.17 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.409, allocations: 32.17 kB / 0.5056 GB, free: 10.14 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.915e-05/0.409, allocations: 87.36 kB / 0.5057 GB, free: 10.05 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.361e-05/0.4091, allocations: 0 / 0.5057 GB, free: 10.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.4091, allocations: 3.562 kB / 0.5057 GB, free: 10.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.663e-05/0.4091, allocations: 313.6 kB / 0.506 GB, free: 9.742 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.956e-05/0.4091, allocations: 7.719 kB / 0.506 GB, free: 9.742 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.904e-05/0.4092, allocations: 33.94 kB / 0.506 GB, free: 9.707 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.087e-05/0.4092, allocations: 15.14 kB / 0.506 GB, free: 9.699 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4092, allocations: 0 / 0.506 GB, free: 9.699 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001006/0.4093, allocations: 62.48 kB / 0.5061 GB, free: 9.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.4094, allocations: 3.812 kB / 0.5061 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.4094, allocations: 0 / 0.5061 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.4094, allocations: 3.875 kB / 0.5061 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.656e-05/0.4095, allocations: 14.94 kB / 0.5061 GB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.4095, allocations: 3.938 kB / 0.5061 GB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.965e-05/0.4096, allocations: 3.938 kB / 0.5061 GB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.4096, allocations: 6.078 kB / 0.5061 GB, free: 9.652 MB / 330.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 5.313e-05/0.4096, allocations: 116.6 kB / 0.5062 GB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.864e-05/0.4097, allocations: 47.69 kB / 0.5063 GB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.256e-05/0.4098, allocations: 11.53 kB / 0.5063 GB, free: 9.492 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4098, allocations: 0 / 0.5063 GB, free: 9.492 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.4098, allocations: 11.3 kB / 0.5063 GB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.4098, allocations: 0 / 0.5063 GB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.41, allocations: 168 kB / 0.5065 GB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.41, allocations: 3.953 kB / 0.5065 GB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.343e-05/0.4101, allocations: 14.61 kB / 0.5065 GB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.4101, allocations: 0 / 0.5065 GB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.4101, allocations: 7.938 kB / 0.5065 GB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4101, allocations: 0 / 0.5065 GB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4101, allocations: 3.984 kB / 0.5065 GB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.4103, allocations: 175.6 kB / 0.5067 GB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.4103, allocations: 97.61 kB / 0.5067 GB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.4104, allocations: 0 / 0.5067 GB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.624e-05/0.4105, allocations: 3.844 kB / 0.5067 GB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.4105, allocations: 0 / 0.5067 GB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.4105, allocations: 2.531 kB / 0.5068 GB, free: 9.023 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.328e-05/0.4106, allocations: 107.1 kB / 0.5069 GB, free: 8.945 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4106, allocations: 0 / 0.5069 GB, free: 8.945 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003306/0.4109, allocations: 11.66 kB / 0.5069 GB, free: 8.941 MB / 330.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.932e-05/0.411, allocations: 100.8 kB / 0.507 GB, free: 8.848 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.634e-05/0.4111, allocations: 14.47 kB / 0.507 GB, free: 8.848 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4112, allocations: 0 / 0.507 GB, free: 8.848 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.146e-05/0.4112, allocations: 14.27 kB / 0.507 GB, free: 8.844 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.4115, allocations: 19.3 kB / 0.507 GB, free: 8.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002645/0.4118, allocations: 108.5 kB / 0.5071 GB, free: 8.746 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001657/0.4119, allocations: 0.6941 MB / 0.5078 GB, free: 8.051 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.981e-05/0.412, allocations: 2.859 kB / 0.5078 GB, free: 8.051 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.412, allocations: 11.28 kB / 0.5078 GB, free: 8.043 MB / 330.7 MB Notification: Performance of SimCode: time 6.41e-07/0.412, allocations: 0 / 0.5078 GB, free: 8.043 MB / 330.7 MB Notification: Performance of Templates: time 0.002761/0.4148, allocations: 486.7 kB / 0.5083 GB, free: 7.973 MB / 330.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