Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001106/0.001106, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009575/0.0009574, allocations: 90.11 kB / 292.1 MB, free: 5.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.274e-05/3.277e-05, allocations: 4 kB / 350.5 MB, free: 2.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1079, allocations: 51.48 MB / 402 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3376/0.4456, allocations: 77.41 MB / 479.4 MB, free: 12.01 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.4458, allocations: 78.86 kB / 479.5 MB, free: 11.96 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002826/0.4487, allocations: 1.115 MB / 480.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4487, allocations: 3.938 kB / 480.6 MB, free: 11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.4487, allocations: 4 kB / 480.6 MB, free: 11 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002386/0.449, allocations: 337.1 kB / 481 MB, free: 10.63 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.449, allocations: 15.75 kB / 481 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.4491, allocations: 16.48 kB / 481 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.4493, allocations: 182.1 kB / 481.2 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.4493, allocations: 3.922 kB / 481.2 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.4493, allocations: 4 kB / 481.2 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.4495, allocations: 103 kB / 481.3 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.4496, allocations: 0.5 kB / 481.3 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.4496, allocations: 4 kB / 481.3 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.4496, allocations: 4 kB / 481.3 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.737e-05/0.4496, allocations: 7.938 kB / 481.3 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001004/0.4497, allocations: 163.3 kB / 481.5 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.343e-05/0.4498, allocations: 39.11 kB / 481.5 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.56e-05/0.4499, allocations: 24.31 kB / 481.5 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.4499, allocations: 7.938 kB / 481.5 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.4499, allocations: 39.45 kB / 481.6 MB, free: 9.973 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.923e-06/0.4499, allocations: 0.6094 kB / 481.6 MB, free: 9.973 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001303/0.45, allocations: 54.12 kB / 481.6 MB, free: 9.922 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.4501, allocations: 51.41 kB / 481.7 MB, free: 9.859 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.896e-05/0.4502, allocations: 98.84 kB / 481.8 MB, free: 9.762 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.4502, allocations: 29.7 kB / 481.8 MB, free: 9.727 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.031e-05/0.4502, allocations: 87.94 kB / 481.9 MB, free: 9.641 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.809e-06/0.4502, allocations: 0 / 481.9 MB, free: 9.641 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-06/0.4502, allocations: 4 kB / 481.9 MB, free: 9.637 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.305e-05/0.4503, allocations: 318.7 kB / 482.2 MB, free: 9.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.819e-06/0.4503, allocations: 3.938 kB / 482.2 MB, free: 9.316 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.219e-05/0.4503, allocations: 32.38 kB / 482.2 MB, free: 9.277 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.661e-05/0.4503, allocations: 8 kB / 482.2 MB, free: 9.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4503, allocations: 0 / 482.2 MB, free: 9.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.888e-05/0.4504, allocations: 57.41 kB / 482.3 MB, free: 9.211 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.4504, allocations: 9.406 kB / 482.3 MB, free: 9.203 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.4504, allocations: 3.953 kB / 482.3 MB, free: 9.199 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.4505, allocations: 0 / 482.3 MB, free: 9.199 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.659e-05/0.4505, allocations: 11.94 kB / 482.3 MB, free: 9.188 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4505, allocations: 3.062 kB / 482.3 MB, free: 9.188 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.051e-05/0.4505, allocations: 4 kB / 482.3 MB, free: 9.184 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.4506, allocations: 4.875 kB / 482.3 MB, free: 9.18 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 4.296e-05/0.4506, allocations: 108.6 kB / 482.4 MB, free: 9.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.522e-05/0.4507, allocations: 50.41 kB / 482.5 MB, free: 9.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.079e-05/0.4507, allocations: 14.88 kB / 482.5 MB, free: 9.012 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.4507, allocations: 3.953 kB / 482.5 MB, free: 9.008 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.4507, allocations: 0 / 482.5 MB, free: 9.008 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4507, allocations: 3.984 kB / 482.5 MB, free: 9.004 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.685e-05/0.4508, allocations: 153.6 kB / 482.7 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4508, allocations: 0.5 kB / 482.7 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.642e-05/0.4509, allocations: 19.92 kB / 482.7 MB, free: 8.789 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4509, allocations: 0 / 482.7 MB, free: 8.789 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.4509, allocations: 5.375 kB / 482.7 MB, free: 8.785 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4509, allocations: 1.125 kB / 482.7 MB, free: 8.785 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4509, allocations: 3.953 kB / 482.7 MB, free: 8.781 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.055e-05/0.451, allocations: 72.62 kB / 482.8 MB, free: 8.699 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.331e-05/0.451, allocations: 96.88 kB / 482.9 MB, free: 8.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.451, allocations: 0 / 482.9 MB, free: 8.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.473e-05/0.4511, allocations: 8 kB / 482.9 MB, free: 8.582 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-06/0.4511, allocations: 0 / 482.9 MB, free: 8.582 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.4511, allocations: 3.953 kB / 482.9 MB, free: 8.578 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.088e-05/0.4511, allocations: 92.02 kB / 483 MB, free: 8.492 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4511, allocations: 0 / 483 MB, free: 8.492 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001749/0.4513, allocations: 4 kB / 483 MB, free: 8.488 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 0.0001017/0.4514, allocations: 102.3 kB / 483.1 MB, free: 8.379 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.447e-05/0.4515, allocations: 23.69 kB / 483.1 MB, free: 8.363 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4515, allocations: 4 kB / 483.1 MB, free: 8.359 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.01e-07/0.4515, allocations: 3.938 kB / 483.1 MB, free: 8.355 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.4517, allocations: 19.86 kB / 483.1 MB, free: 8.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001548/0.4518, allocations: 72.33 kB / 483.2 MB, free: 8.258 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.452, allocations: 0.6809 MB / 483.9 MB, free: 7.551 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.438e-05/0.452, allocations: 8.234 kB / 483.9 MB, free: 7.543 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.713e-05/0.452, allocations: 11.44 kB / 483.9 MB, free: 7.531 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.452, allocations: 0 / 483.9 MB, free: 7.531 MB / 346.7 MB Notification: Performance of Templates: time 0.001897/0.4539, allocations: 325.2 kB / 484.2 MB, free: 7.254 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches