Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009445/0.0009445, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009997/0.0009997, allocations: 168.8 kB / 24.82 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 273.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.637e-05, allocations: 2.312 kB / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.005913/0.005939, allocations: 1.599 MB / 275 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004204/0.00636, allocations: 147.4 kB / 275.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.709e-05/0.006447, allocations: 4 kB / 275.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.83e-05/0.006495, allocations: 7.922 kB / 275.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.00663, allocations: 11.88 kB / 275.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.006883, allocations: 43.83 kB / 275.2 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.557e-05/0.006978, allocations: 27.92 kB / 275.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.007097, allocations: 11.94 kB / 275.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.809e-05/0.007155, allocations: 19.97 kB / 275.3 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.645e-05/0.007202, allocations: 15.92 kB / 275.3 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.007221, allocations: 0 / 275.3 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.093e-05/0.007232, allocations: 4 kB / 275.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.38e-05/0.007276, allocations: 8 kB / 275.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.63e-05/0.007302, allocations: 11.92 kB / 275.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.007406, allocations: 39.78 kB / 275.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.007409, allocations: 0 / 275.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.00741, allocations: 4 kB / 275.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.007414, allocations: 0 / 275.3 MB, free: 15.35 MB / 266.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.003551/0.01096, allocations: 392.3 kB / 275.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.01101, allocations: 8.031 kB / 275.7 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.01105, allocations: 16.89 kB / 275.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.01121, allocations: 140.4 kB / 275.9 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.01123, allocations: 8.375 kB / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.846e-06/0.01123, allocations: 4.375 kB / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.01146, allocations: 133.5 kB / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.01146, allocations: 192 / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-06/0.01147, allocations: 384 / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.01148, allocations: 384 / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.271e-05/0.0115, allocations: 7.938 kB / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002441/0.01174, allocations: 256 kB / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.01187, allocations: 62.17 kB / 276.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.842e-05/0.0119, allocations: 27.42 kB / 276.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.01192, allocations: 0 / 276.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.01194, allocations: 45.33 kB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.01194, allocations: 0 / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001413/0.01209, allocations: 57.52 kB / 276.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.01213, allocations: 85.11 kB / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.01223, allocations: 181.9 kB / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.01224, allocations: 29.7 kB / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.315e-05/0.0123, allocations: 134.9 kB / 276.9 MB, free: 13.58 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.01231, allocations: 3.953 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.01234, allocations: 23.48 kB / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.01248, allocations: 496.1 kB / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.173e-06/0.01248, allocations: 0 / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.042e-06/0.01249, allocations: 0 / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.327e-05/0.01251, allocations: 15.69 kB / 277.4 MB, free: 13.03 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.01252, allocations: 0 / 277.4 MB, free: 13.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.745e-05/0.01257, allocations: 33.64 kB / 277.5 MB, free: 12.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.01259, allocations: 10.34 kB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.0126, allocations: 3.984 kB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.01261, allocations: 8.031 kB / 277.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.247e-05/0.01265, allocations: 0 / 277.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-06/0.01265, allocations: 4 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.555e-05/0.01267, allocations: 0 / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.01267, allocations: 0 / 277.5 MB, free: 12.96 MB / 266.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 7.023e-05/0.01274, allocations: 156.6 kB / 277.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.26e-05/0.0128, allocations: 49.58 kB / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.19e-05/0.01284, allocations: 12.28 kB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.01284, allocations: 3.938 kB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.01284, allocations: 0 / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.01284, allocations: 0 / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.01297, allocations: 113.2 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.01298, allocations: 0 / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.295e-05/0.01302, allocations: 8 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.01302, allocations: 3.984 kB / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-06/0.01303, allocations: 4 kB / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.01303, allocations: 0 / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01303, allocations: 0 / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.01313, allocations: 191.5 kB / 278 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.01317, allocations: 23.88 kB / 278 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.01318, allocations: 4 kB / 278 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.482e-05/0.01324, allocations: 4.031 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-05/0.01326, allocations: 4 kB / 278.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.01326, allocations: 3.938 kB / 278.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.732e-05/0.01332, allocations: 150.4 kB / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01332, allocations: 0 / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00326/0.01658, allocations: 4 kB / 278.2 MB, free: 12.18 MB / 266.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 0.0001036/0.01668, allocations: 91.25 kB / 278.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.073e-05/0.01676, allocations: 15.92 kB / 278.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.01676, allocations: 4.062 kB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.481e-05/0.01677, allocations: 11.62 kB / 278.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.0171, allocations: 28.2 kB / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/0.0174, allocations: 160.8 kB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.752e-05/0.01745, allocations: 67.28 kB / 278.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.06e-05/0.01747, allocations: 256 / 278.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.81e-05/0.01753, allocations: 74.2 kB / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01753, allocations: 0 / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of Templates: time 0.00563/0.02316, allocations: 0.5587 MB / 279.2 MB, free: 11.11 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.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.73169516492635]