Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.001256/0.001256, allocations: 81.94 kB / 21.25 MB, free: 0.5469 MB / 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.001491/0.001491, allocations: 160.2 kB / 24.5 MB, free: 3.719 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.493/1.493, allocations: 177.1 MB / 204.7 MB, free: 8.945 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 66.27 kB / 325.5 MB, free: 176 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1173, allocations: 53.37 MB / 378.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003029/0.1203, allocations: 1.584 MB / 380.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.1214, allocations: 0.4987 MB / 381 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.847e-05/0.1215, allocations: 3.938 kB / 381 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.666e-05/0.1215, allocations: 7.938 kB / 381 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.1216, allocations: 7.938 kB / 381 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.1219, allocations: 55.69 kB / 381.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.1221, allocations: 43.84 kB / 381.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.463e-05/0.1222, allocations: 8 kB / 381.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.1223, allocations: 31.86 kB / 381.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.46e-05/0.1223, allocations: 15.86 kB / 381.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.1223, allocations: 0 / 381.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.429e-05/0.1224, allocations: 12 kB / 381.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.84e-05/0.1224, allocations: 15.91 kB / 381.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.081e-05/0.1225, allocations: 19.88 kB / 381.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.1226, allocations: 51.75 kB / 381.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1226, allocations: 0 / 381.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1226, allocations: 0 / 381.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1226, allocations: 0 / 381.3 MB, free: 13.09 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005336/0.1232, allocations: 298 kB / 381.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1232, allocations: 15.98 kB / 381.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.1233, allocations: 12.89 kB / 381.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.1236, allocations: 142.4 kB / 381.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1236, allocations: 384 / 381.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.1236, allocations: 12.31 kB / 381.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/0.1239, allocations: 85.42 kB / 381.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1239, allocations: 0 / 381.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1239, allocations: 4 kB / 381.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1239, allocations: 0 / 381.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.603e-05/0.124, allocations: 19.92 kB / 381.8 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.1243, allocations: 217.4 kB / 382.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.1244, allocations: 49.08 kB / 382.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.105e-05/0.1244, allocations: 25.72 kB / 382.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.1245, allocations: 0 / 382.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.1245, allocations: 34.55 kB / 382.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.1245, allocations: 0 / 382.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002344/0.1247, allocations: 65.58 kB / 382.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.95e-05/0.1248, allocations: 89.34 kB / 382.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.1249, allocations: 141.2 kB / 382.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.125, allocations: 29.64 kB / 382.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.488e-05/0.125, allocations: 88.14 kB / 382.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.125, allocations: 7.984 kB / 382.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.49e-05/0.1251, allocations: 17.67 kB / 382.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1252, allocations: 314.8 kB / 382.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.102e-05/0.1252, allocations: 7.984 kB / 382.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.127e-05/0.1253, allocations: 21.72 kB / 382.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.955e-05/0.1253, allocations: 29.77 kB / 383 MB, free: 11.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.1254, allocations: 4 kB / 383 MB, free: 11.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001158/0.1255, allocations: 61.55 kB / 383 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.1255, allocations: 4 kB / 383 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1255, allocations: 0 / 383 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1255, allocations: 0 / 383 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.686e-05/0.1256, allocations: 8 kB / 383 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1256, allocations: 4 kB / 383 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.3e-05/0.1256, allocations: 4.062 kB / 383 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.1256, allocations: 15.91 kB / 383.1 MB, free: 11.08 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 9.007e-05/0.1257, allocations: 117.8 kB / 383.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.777e-05/0.1258, allocations: 41.59 kB / 383.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.177e-05/0.1258, allocations: 11.8 kB / 383.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1258, allocations: 0 / 383.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1258, allocations: 4 kB / 383.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1258, allocations: 0 / 383.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.1259, allocations: 113.3 kB / 383.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1259, allocations: 7.969 kB / 383.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.302e-05/0.126, allocations: 7.984 kB / 383.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.126, allocations: 4 kB / 383.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.126, allocations: 0 / 383.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.126, allocations: 0 / 383.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.126, allocations: 0 / 383.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.1262, allocations: 160.3 kB / 383.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.095e-05/0.1262, allocations: 23.88 kB / 383.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.1262, allocations: 0 / 383.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.017e-05/0.1263, allocations: 8.016 kB / 383.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.1263, allocations: 4 kB / 383.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.1263, allocations: 3.938 kB / 383.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.11e-05/0.1264, allocations: 107.2 kB / 383.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1264, allocations: 0 / 383.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.1267, allocations: 8 kB / 383.7 MB, free: 10.41 MB / 350.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001035/0.1268, allocations: 91.25 kB / 383.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001329/0.1269, allocations: 23.92 kB / 383.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1269, allocations: 4.125 kB / 383.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.45e-05/0.1269, allocations: 8 kB / 383.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.1273, allocations: 25.55 kB / 383.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/0.1276, allocations: 155.7 kB / 384 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.028e-05/0.1277, allocations: 75.31 kB / 384 MB, free: 9.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.301e-05/0.1277, allocations: 7.938 kB / 384 MB, free: 9.969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.1278, allocations: 12.66 kB / 384.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1278, allocations: 0 / 384.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of Templates: time 0.003354/0.1311, allocations: 0.4957 MB / 384.6 MB, free: 9.473 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.423216319060884]