Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000969/0.000969, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00139/0.002359, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009325/0.0009325, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001254/0.002187, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9213/0.9213, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08788/1.009, allocations: 52.49 MB / 238.3 MB, free: 4.438 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.72e-07/9.72e-07, allocations: 0 / 239.5 MB, free: 3.176 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.145e-05/1.242e-05, allocations: 2.875 kB / 239.6 MB, free: 3.172 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.001832/0.001845, allocations: 1.67 MB / 241.2 MB, free: 1.492 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004922/0.002337, allocations: 484.1 kB / 241.7 MB, free: 1.016 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.258e-05/0.002389, allocations: 0 / 241.7 MB, free: 1.016 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.002418, allocations: 3.938 kB / 241.7 MB, free: 1.012 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.305e-05/0.002481, allocations: 11.88 kB / 241.7 MB, free: 1 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.002638, allocations: 43.83 kB / 241.8 MB, free: 0.957 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.919e-05/0.002717, allocations: 39.86 kB / 241.8 MB, free: 0.918 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.707e-05/0.002784, allocations: 19.92 kB / 241.8 MB, free: 0.8984 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.447e-05/0.002859, allocations: 35.84 kB / 241.8 MB, free: 0.8633 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.172e-05/0.002901, allocations: 15.92 kB / 241.9 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.002917, allocations: 0 / 241.9 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.255e-06/0.002925, allocations: 4 kB / 241.9 MB, free: 0.8438 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.308e-05/0.002958, allocations: 15.94 kB / 241.9 MB, free: 0.8281 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.183e-05/0.00302, allocations: 11.94 kB / 241.9 MB, free: 0.8164 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 8.171e-05/0.003102, allocations: 35.84 kB / 241.9 MB, free: 0.7812 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.107e-05/0.003113, allocations: 4 kB / 241.9 MB, free: 0.7773 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.003114, allocations: 0 / 241.9 MB, free: 0.7773 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.003127, allocations: 3.984 kB / 241.9 MB, free: 0.7734 MB / 234.7 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.0003397/0.003467, allocations: 280.3 kB / 242.2 MB, free: 488 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.003496, allocations: 12.03 kB / 242.2 MB, free: 476 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.315e-05/0.003519, allocations: 4.938 kB / 242.2 MB, free: 472 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.003647, allocations: 141.6 kB / 242.4 MB, free: 304 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.903e-06/0.003654, allocations: 384 / 242.4 MB, free: 304 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.003661, allocations: 4.375 kB / 242.4 MB, free: 300 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.003812, allocations: 122.2 kB / 242.5 MB, free: 156 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.003818, allocations: 192 / 242.5 MB, free: 156 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.003825, allocations: 4.375 kB / 242.5 MB, free: 152 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.00383, allocations: 3.938 kB / 242.5 MB, free: 148 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.668e-05/0.003846, allocations: 7.938 kB / 242.5 MB, free: 140 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/0.004004, allocations: 153.1 kB / 242.7 MB, free: 15.97 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.642e-05/0.0041, allocations: 57.09 kB / 242.7 MB, free: 15.89 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.233e-05/0.004183, allocations: 17.78 kB / 242.7 MB, free: 15.87 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.004198, allocations: 4 kB / 242.7 MB, free: 15.87 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.004221, allocations: 34.55 kB / 242.8 MB, free: 15.82 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.004222, allocations: 3.938 kB / 242.8 MB, free: 15.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 9.605e-05/0.004318, allocations: 57.56 kB / 242.8 MB, free: 15.76 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.004353, allocations: 81.11 kB / 242.9 MB, free: 15.66 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.935e-05/0.004413, allocations: 129.2 kB / 243 MB, free: 15.52 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.004421, allocations: 25.7 kB / 243.1 MB, free: 15.49 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.539e-05/0.004447, allocations: 84.14 kB / 243.1 MB, free: 15.41 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.31e-05/0.00446, allocations: 12.06 kB / 243.1 MB, free: 15.39 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.004488, allocations: 21.7 kB / 243.2 MB, free: 15.37 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.194e-05/0.004549, allocations: 310.8 kB / 243.5 MB, free: 15.05 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.773e-06/0.004556, allocations: 4 kB / 243.5 MB, free: 15.05 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.081e-06/0.004562, allocations: 3.938 kB / 243.5 MB, free: 15.05 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.828e-05/0.004581, allocations: 8.859 kB / 243.5 MB, free: 15.04 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.004582, allocations: 0 / 243.5 MB, free: 15.04 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.06e-05/0.004613, allocations: 33.69 kB / 243.5 MB, free: 15 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.004622, allocations: 4 kB / 243.5 MB, free: 14.99 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.004627, allocations: 8.094 kB / 243.5 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.965e-06/0.004635, allocations: 3.938 kB / 243.5 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.207e-05/0.004677, allocations: 3.984 kB / 243.5 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.004679, allocations: 0 / 243.5 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.26e-05/0.004692, allocations: 4 kB / 243.5 MB, free: 14.97 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.004697, allocations: 0 / 243.5 MB, free: 14.97 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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 4.447e-05/0.004741, allocations: 108.7 kB / 243.7 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.088e-05/0.004772, allocations: 45.81 kB / 243.7 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.553e-05/0.004797, allocations: 12.38 kB / 243.7 MB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.004801, allocations: 7.938 kB / 243.7 MB, free: 14.78 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.004803, allocations: 4 kB / 243.7 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.004806, allocations: 3.984 kB / 243.7 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.426e-05/0.00488, allocations: 69.89 kB / 243.8 MB, free: 14.68 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.004883, allocations: 4 kB / 243.8 MB, free: 14.68 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.514e-05/0.004908, allocations: 11.98 kB / 243.8 MB, free: 14.67 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.336e-05/0.004931, allocations: 15.94 kB / 243.8 MB, free: 14.65 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.004933, allocations: 4 kB / 243.8 MB, free: 14.65 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.004937, allocations: 3.984 kB / 243.8 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.00494, allocations: 3.938 kB / 243.8 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.004942, allocations: 3.984 kB / 243.8 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.962e-05/0.005001, allocations: 148.3 kB / 244 MB, free: 14.47 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.365e-06/0.00501, allocations: 0 / 244 MB, free: 14.47 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.826e-05/0.005038, allocations: 0 / 244 MB, free: 14.47 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.113e-05/0.005059, allocations: 11.94 kB / 244 MB, free: 14.46 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.005062, allocations: 0 / 244 MB, free: 14.46 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.744e-05/0.005079, allocations: 23.5 kB / 244 MB, free: 14.44 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005079, allocations: 0 / 244 MB, free: 14.44 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001065/0.005186, allocations: 4 kB / 244 MB, free: 14.43 MB / 250.7 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 5.845e-05/0.005244, allocations: 80.41 kB / 244.1 MB, free: 14.35 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.812e-05/0.005302, allocations: 20.83 kB / 244.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.005309, allocations: 7.984 kB / 244.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.1e-05/0.00532, allocations: 8.859 kB / 244.1 MB, free: 14.3 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.005491, allocations: 20.86 kB / 244.2 MB, free: 14.28 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005893/0.00608, allocations: 182.4 kB / 244.3 MB, free: 14.08 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.006241, allocations: 59.34 kB / 244.4 MB, free: 14 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.009e-05/0.006262, allocations: 4.109 kB / 244.4 MB, free: 14 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.945e-05/0.006301, allocations: 59.38 kB / 244.5 MB, free: 13.94 MB / 250.7 MB Notification: Performance of SimCode: time 4.61e-07/0.006301, allocations: 0 / 244.5 MB, free: 13.94 MB / 250.7 MB Notification: Performance of Templates: time 0.001846/0.008147, allocations: 0.565 MB / 245 MB, free: 13.38 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.441780806519091]