Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.001709/0.001709, allocations: 79.73 kB / 21.25 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.003033/0.003033, allocations: 164.6 kB / 24.5 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.502/1.502, allocations: 177.1 MB / 204.7 MB, free: 8.891 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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 60.98 kB / 325.5 MB, free: 228 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09919/0.1011, allocations: 53.39 MB / 378.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003153/0.1043, allocations: 1.579 MB / 380.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004192/0.1047, allocations: 135.5 kB / 380.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.884e-05/0.1048, allocations: 3.938 kB / 380.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.47e-05/0.1048, allocations: 3.938 kB / 380.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.105, allocations: 7.938 kB / 380.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.1052, allocations: 47.89 kB / 380.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000101/0.1053, allocations: 31.86 kB / 380.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1054, allocations: 11.98 kB / 380.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.35e-05/0.1055, allocations: 15.92 kB / 380.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.668e-05/0.1055, allocations: 11.92 kB / 380.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.1055, allocations: 4 kB / 380.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.027e-06/0.1055, allocations: 3.938 kB / 380.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.772e-05/0.1056, allocations: 8 kB / 380.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.174e-05/0.1056, allocations: 23.86 kB / 380.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.1057, allocations: 51.69 kB / 380.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.1057, allocations: 0 / 380.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1057, allocations: 4 kB / 380.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1058, allocations: 3.938 kB / 380.8 MB, free: 13.58 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004516/0.1062, allocations: 290.1 kB / 381.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.1062, allocations: 11.98 kB / 381.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.1063, allocations: 8.891 kB / 381.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.1066, allocations: 134.4 kB / 381.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.1066, allocations: 4.375 kB / 381.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.1066, allocations: 4.375 kB / 381.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003311/0.1069, allocations: 121.5 kB / 381.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1069, allocations: 192 / 381.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.107, allocations: 3.938 kB / 381.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.107, allocations: 0 / 381.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.149e-05/0.107, allocations: 19.97 kB / 381.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.1073, allocations: 205.4 kB / 381.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.1075, allocations: 61.14 kB / 381.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.868e-05/0.1076, allocations: 29.77 kB / 381.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.1076, allocations: 7.938 kB / 381.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/0.1077, allocations: 34.5 kB / 381.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1077, allocations: 0 / 381.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002444/0.1079, allocations: 77.61 kB / 381.8 MB, free: 12.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.616e-05/0.108, allocations: 85.05 kB / 381.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.1081, allocations: 130.1 kB / 382.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.1081, allocations: 29.77 kB / 382.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.515e-05/0.1082, allocations: 92.14 kB / 382.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.1082, allocations: 3.953 kB / 382.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.1082, allocations: 21.7 kB / 382.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1084, allocations: 310.8 kB / 382.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.292e-05/0.1084, allocations: 15.98 kB / 382.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.838e-05/0.1085, allocations: 27.44 kB / 382.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.011e-05/0.1085, allocations: 47.36 kB / 382.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1085, allocations: 0 / 382.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001311/0.1087, allocations: 73.55 kB / 382.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.1087, allocations: 4 kB / 382.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1087, allocations: 288 / 382.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1087, allocations: 4 kB / 382.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.96e-05/0.1088, allocations: 7.938 kB / 382.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.1088, allocations: 8.109 kB / 382.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.413e-05/0.1088, allocations: 11.95 kB / 382.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.1088, allocations: 4 kB / 382.7 MB, free: 11.5 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.553e-05/0.1089, allocations: 117.8 kB / 382.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.031e-05/0.109, allocations: 53.61 kB / 382.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.109, allocations: 12.34 kB / 382.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.109, allocations: 0 / 382.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.109, allocations: 0 / 382.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.109, allocations: 0 / 382.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.1092, allocations: 125.2 kB / 383 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1092, allocations: 3.938 kB / 383 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.269e-05/0.1092, allocations: 12 kB / 383 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.1092, allocations: 3.938 kB / 383 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.1092, allocations: 0 / 383 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1092, allocations: 0 / 383 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1092, allocations: 0 / 383 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.1094, allocations: 168.3 kB / 383.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.633e-05/0.1094, allocations: 15.92 kB / 383.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.1095, allocations: 0 / 383.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.994e-05/0.1095, allocations: 11.94 kB / 383.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.641e-05/0.1095, allocations: 3.984 kB / 383.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.1095, allocations: 7.938 kB / 383.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001104/0.1097, allocations: 106 kB / 383.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1097, allocations: 0 / 383.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002198/0.1099, allocations: 8 kB / 383.3 MB, free: 10.79 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 (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 9.422e-05/0.11, allocations: 95.25 kB / 383.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.1101, allocations: 31.91 kB / 383.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1101, allocations: 0 / 383.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.983e-05/0.1101, allocations: 8.25 kB / 383.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.1104, allocations: 22.83 kB / 383.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003223/0.1108, allocations: 158.3 kB / 383.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.005e-05/0.1108, allocations: 71.33 kB / 383.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.082e-05/0.1109, allocations: 7.938 kB / 383.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.597e-05/0.1109, allocations: 8.5 kB / 383.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1109, allocations: 4 kB / 383.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of Templates: time 0.002926/0.1138, allocations: 0.5249 MB / 384.3 MB, free: 9.82 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.5505198910832405]