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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0008691/0.0008693, allocations: 99.89 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001151/0.001151, allocations: 191.2 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 227.7 MB / 246.4 MB, free: 9.824 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002886/0.0002887, allocations: 11.98 kB / 307.1 MB, free: 0.9727 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1322, allocations: 51.53 MB / 358.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002196/0.1345, allocations: 1.211 MB / 359.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009532/0.1355, allocations: 455.2 kB / 360.3 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.291e-05/0.1356, allocations: 4 kB / 360.3 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.668e-05/0.1357, allocations: 7.922 kB / 360.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.77e-05/0.1358, allocations: 3.938 kB / 360.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003416/0.1361, allocations: 23.97 kB / 360.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.1362, allocations: 39.86 kB / 360.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1363, allocations: 4 kB / 360.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.1365, allocations: 19.92 kB / 360.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.854e-05/0.1366, allocations: 15.92 kB / 360.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.1366, allocations: 0 / 360.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.929e-05/0.1366, allocations: 7.984 kB / 360.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.665e-05/0.1367, allocations: 11.94 kB / 360.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.553e-05/0.1367, allocations: 25.7 kB / 360.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.731e-05/0.1368, allocations: 27.95 kB / 360.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.08e-05/0.1368, allocations: 0 / 360.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.968e-06/0.1368, allocations: 0 / 360.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1369, allocations: 0 / 360.5 MB, free: 11.59 MB / 302.1 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.0005026/0.1374, allocations: 347.5 kB / 360.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.1374, allocations: 12.02 kB / 360.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.1376, allocations: 12 kB / 360.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.1379, allocations: 182.8 kB / 361 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.1379, allocations: 8 kB / 361 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.1379, allocations: 0 / 361 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003815/0.1383, allocations: 127.2 kB / 361.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.1383, allocations: 0 / 361.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.1383, allocations: 0 / 361.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1383, allocations: 0 / 361.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.703e-05/0.1384, allocations: 35.91 kB / 361.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001731/0.1386, allocations: 161.6 kB / 361.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.1388, allocations: 66.58 kB / 361.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.458e-05/0.1389, allocations: 28.83 kB / 361.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.1389, allocations: 4 kB / 361.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.1389, allocations: 30.56 kB / 361.5 MB, free: 10.42 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.1389, allocations: 0 / 361.5 MB, free: 10.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002624/0.1392, allocations: 89.47 kB / 361.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.1393, allocations: 59.39 kB / 361.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.1394, allocations: 113.8 kB / 361.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.1394, allocations: 29.7 kB / 361.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.682e-05/0.1395, allocations: 80.14 kB / 361.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.913e-06/0.1395, allocations: 0 / 361.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.1395, allocations: 4 kB / 361.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1396, allocations: 314.8 kB / 362.1 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.13e-05/0.1397, allocations: 3.984 kB / 362.2 MB, free: 9.695 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.477e-05/0.1397, allocations: 31.44 kB / 362.2 MB, free: 9.652 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.345e-05/0.1397, allocations: 7.938 kB / 362.2 MB, free: 9.645 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1397, allocations: 0 / 362.2 MB, free: 9.645 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.139e-05/0.1398, allocations: 57.62 kB / 362.2 MB, free: 9.582 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.1399, allocations: 8 kB / 362.3 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1399, allocations: 0 / 362.3 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1399, allocations: 8.078 kB / 362.3 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.244e-05/0.14, allocations: 8 kB / 362.3 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.14, allocations: 0 / 362.3 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.276e-05/0.14, allocations: 4 kB / 362.3 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-06/0.14, allocations: 0 / 362.3 MB, free: 9.555 MB / 302.1 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 () * Number of clocked 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 8.127e-05/0.1401, allocations: 117.8 kB / 362.4 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.1402, allocations: 65.59 kB / 362.5 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.649e-05/0.1403, allocations: 15.89 kB / 362.5 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.1403, allocations: 3.953 kB / 362.5 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1403, allocations: 0 / 362.5 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1403, allocations: 0 / 362.5 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.1404, allocations: 153.7 kB / 362.6 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.1404, allocations: 8 kB / 362.6 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.289e-05/0.1405, allocations: 12.36 kB / 362.6 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1405, allocations: 3.938 kB / 362.6 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1405, allocations: 0 / 362.6 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1405, allocations: 0 / 362.6 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1405, allocations: 11.89 kB / 362.7 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.1407, allocations: 93.38 kB / 362.8 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.663e-05/0.1408, allocations: 89 kB / 362.8 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.1408, allocations: 0 / 362.8 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.281e-05/0.1408, allocations: 4.047 kB / 362.8 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-06/0.1408, allocations: 3.984 kB / 362.8 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.1408, allocations: 4 kB / 362.8 MB, free: 8.871 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.936e-05/0.1409, allocations: 95.22 kB / 362.9 MB, free: 8.777 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1409, allocations: 0 / 362.9 MB, free: 8.777 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001856/0.1411, allocations: 4 kB / 362.9 MB, free: 8.773 MB / 302.1 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 () * Number of clocked 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.0001201/0.1412, allocations: 99.19 kB / 363 MB, free: 8.668 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001191/0.1413, allocations: 31.92 kB / 363.1 MB, free: 8.637 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1413, allocations: 4.25 kB / 363.1 MB, free: 8.633 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.22e-07/0.1414, allocations: 0 / 363.1 MB, free: 8.633 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.1416, allocations: 23.98 kB / 363.1 MB, free: 8.609 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003047/0.1419, allocations: 148.6 kB / 363.2 MB, free: 8.438 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.1422, allocations: 0.6848 MB / 363.9 MB, free: 7.727 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.309e-05/0.1422, allocations: 0 / 363.9 MB, free: 7.727 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/0.1422, allocations: 11.44 kB / 363.9 MB, free: 7.715 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1422, allocations: 0 / 363.9 MB, free: 7.715 MB / 302.1 MB Notification: Performance of Templates: time 0.002434/0.1447, allocations: 316.3 kB / 364.3 MB, free: 7.406 MB / 302.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches