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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002117/0.002117, allocations: 75.75 kB / 21.24 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002302/0.002302, allocations: 159.7 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 177.1 MB / 204.7 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] 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=5011,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=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 62.03 kB / 325.5 MB, free: 200 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1223, allocations: 53.39 MB / 378.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003177/0.1255, allocations: 1.514 MB / 380.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009784/0.1265, allocations: 442.8 kB / 380.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.315e-05/0.1266, allocations: 4 kB / 380.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.95e-05/0.1266, allocations: 7.922 kB / 380.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.664e-05/0.1267, allocations: 11.86 kB / 380.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.127, allocations: 27.92 kB / 380.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.1271, allocations: 43.91 kB / 381 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1272, allocations: 7.984 kB / 381 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.1274, allocations: 27.88 kB / 381 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.431e-05/0.1274, allocations: 11.92 kB / 381 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.1274, allocations: 0 / 381 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.574e-05/0.1275, allocations: 15.92 kB / 381 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.156e-05/0.1275, allocations: 7.984 kB / 381 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.082e-05/0.1276, allocations: 11.94 kB / 381 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.1277, allocations: 43.77 kB / 381.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1277, allocations: 0 / 381.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1277, allocations: 0 / 381.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.1277, allocations: 4 kB / 381.1 MB, free: 13.32 MB / 350.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.0004893/0.1282, allocations: 278.2 kB / 381.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.1282, allocations: 15.98 kB / 381.4 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.1284, allocations: 12.88 kB / 381.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.1287, allocations: 130.4 kB / 381.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.861e-06/0.1287, allocations: 384 / 381.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.1287, allocations: 4.375 kB / 381.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000343/0.129, allocations: 119.6 kB / 381.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.129, allocations: 0 / 381.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.129, allocations: 4 kB / 381.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.1291, allocations: 0 / 381.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.981e-05/0.1291, allocations: 23.97 kB / 381.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.1293, allocations: 105.3 kB / 381.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.1295, allocations: 58.48 kB / 381.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.309e-05/0.1295, allocations: 28.92 kB / 381.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.1295, allocations: 0 / 381.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.1296, allocations: 30.56 kB / 381.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1296, allocations: 0 / 381.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002437/0.1298, allocations: 85.53 kB / 382 MB, free: 12.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.1299, allocations: 55.41 kB / 382 MB, free: 12.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.13, allocations: 109.8 kB / 382.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.13, allocations: 29.7 kB / 382.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/0.13, allocations: 80.14 kB / 382.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.943e-06/0.13, allocations: 8 kB / 382.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.1301, allocations: 13.72 kB / 382.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1302, allocations: 326.8 kB / 382.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.629e-06/0.1302, allocations: 0 / 382.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.002e-05/0.1303, allocations: 23.62 kB / 382.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.946e-05/0.1303, allocations: 39.36 kB / 382.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1303, allocations: 0 / 382.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.218e-05/0.1304, allocations: 57.69 kB / 382.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1304, allocations: 8.375 kB / 382.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.171e-05/0.1304, allocations: 7.922 kB / 382.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.1305, allocations: 7.922 kB / 382.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.255e-05/0.1305, allocations: 8 kB / 382.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1305, allocations: 3.938 kB / 382.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.478e-05/0.1306, allocations: 12 kB / 382.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.1306, allocations: 0 / 382.7 MB, free: 11.47 MB / 350.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.495e-05/0.1306, allocations: 114 kB / 382.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.1308, allocations: 61.67 kB / 382.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.184e-05/0.1308, allocations: 11.94 kB / 382.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1308, allocations: 3.938 kB / 382.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1308, allocations: 0 / 382.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1308, allocations: 0 / 382.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.292e-05/0.1309, allocations: 113.3 kB / 383 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1309, allocations: 0 / 383 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.777e-05/0.131, allocations: 7.984 kB / 383 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.131, allocations: 4 kB / 383 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.131, allocations: 4 kB / 383 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.131, allocations: 3.938 kB / 383.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.131, allocations: 0 / 383.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.1311, allocations: 85.11 kB / 383.1 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.122e-05/0.1312, allocations: 3.953 kB / 383.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.1312, allocations: 8 kB / 383.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.618e-05/0.1312, allocations: 7.922 kB / 383.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.424e-06/0.1312, allocations: 0 / 383.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.1312, allocations: 0 / 383.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.697e-05/0.1313, allocations: 91.22 kB / 383.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1313, allocations: 0 / 383.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001831/0.1315, allocations: 8 kB / 383.2 MB, free: 10.88 MB / 350.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001133/0.1316, allocations: 99.23 kB / 383.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001286/0.1317, allocations: 27.92 kB / 383.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1317, allocations: 3.938 kB / 383.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.1317, allocations: 0 / 383.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.1319, allocations: 19.98 kB / 383.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002892/0.1322, allocations: 135.1 kB / 383.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.143e-05/0.1323, allocations: 71.28 kB / 383.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.229e-05/0.1323, allocations: 288 / 383.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.253e-05/0.1323, allocations: 16.48 kB / 383.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1323, allocations: 4 kB / 383.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of Templates: time 0.002422/0.1348, allocations: 362.8 kB / 384 MB, free: 10.11 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.475818915991113]