Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.001377/0.001377, allocations: 112.9 kB / 19.17 MB, free: 3.891 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.001398/0.001398, allocations: 210.5 kB / 22.13 MB, free: 0.9375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.481/1.481, allocations: 230.5 MB / 255.4 MB, free: 14.77 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 79.81 kB / 374.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1217, allocations: 53.3 MB / 428.1 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003107/0.1248, allocations: 1.588 MB / 429.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.1259, allocations: 0.5493 MB / 430.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.081e-05/0.1259, allocations: 0 / 430.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.122e-05/0.126, allocations: 3.938 kB / 430.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000151/0.1261, allocations: 15.86 kB / 430.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.1265, allocations: 47.83 kB / 430.3 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000113/0.1266, allocations: 47.84 kB / 430.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1267, allocations: 15.98 kB / 430.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.1268, allocations: 35.86 kB / 430.4 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.651e-05/0.1269, allocations: 19.86 kB / 430.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.1269, allocations: 4 kB / 430.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.373e-05/0.1269, allocations: 4 kB / 430.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.543e-05/0.127, allocations: 19.91 kB / 430.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.879e-05/0.127, allocations: 27.81 kB / 430.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.1272, allocations: 51.73 kB / 430.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1272, allocations: 4 kB / 430.5 MB, free: 1.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1272, allocations: 0 / 430.5 MB, free: 1.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.1272, allocations: 4 kB / 430.5 MB, free: 1.863 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.0005496/0.1278, allocations: 381.6 kB / 430.9 MB, free: 1.445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.1278, allocations: 12.03 kB / 430.9 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.128, allocations: 24.83 kB / 430.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.1282, allocations: 200.1 kB / 431.1 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.1283, allocations: 4.375 kB / 431.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.1283, allocations: 4.375 kB / 431.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002992/0.1286, allocations: 125.3 kB / 431.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1286, allocations: 0 / 431.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.1286, allocations: 0 / 431.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1286, allocations: 0 / 431.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.661e-05/0.1287, allocations: 27.92 kB / 431.3 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003705/0.129, allocations: 261.8 kB / 431.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.1293, allocations: 142.2 kB / 431.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.547e-05/0.1294, allocations: 29.78 kB / 431.7 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.1294, allocations: 3.984 kB / 431.7 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.1294, allocations: 34.55 kB / 431.7 MB, free: 444 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1294, allocations: 0 / 431.7 MB, free: 444 kB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002777/0.1297, allocations: 77.56 kB / 431.8 MB, free: 360 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.1298, allocations: 89.17 kB / 431.9 MB, free: 252 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.1299, allocations: 142.1 kB / 432 MB, free: 96 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.1299, allocations: 25.7 kB / 432 MB, free: 64 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.262/0.3919, allocations: 85.77 kB / 432.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.392, allocations: 4.016 kB / 432.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-05/0.392, allocations: 17.84 kB / 432.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.675e-05/0.3921, allocations: 316.8 kB / 432.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.463e-05/0.3922, allocations: 11.55 kB / 432.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.111e-05/0.3922, allocations: 33.41 kB / 432.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.3923, allocations: 49.52 kB / 432.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3923, allocations: 2.062 kB / 432.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001752/0.3925, allocations: 69.59 kB / 432.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.3925, allocations: 6.094 kB / 432.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.3925, allocations: 1.641 kB / 432.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.3925, allocations: 2.562 kB / 432.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.283e-05/0.3926, allocations: 12.8 kB / 432.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.3926, allocations: 3.984 kB / 432.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.137e-05/0.3927, allocations: 12.8 kB / 432.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.3927, allocations: 2.25 kB / 432.7 MB, free: 10.85 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 7.249e-05/0.3928, allocations: 119.2 kB / 432.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.249e-05/0.3928, allocations: 49.05 kB / 432.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.736e-05/0.3929, allocations: 14.69 kB / 432.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.3929, allocations: 5.312 kB / 432.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3929, allocations: 0.8438 kB / 432.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3929, allocations: 0.6094 kB / 432.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.393, allocations: 168.3 kB / 433 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.393, allocations: 1.25 kB / 433 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.697e-05/0.3931, allocations: 13.34 kB / 433 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3931, allocations: 1.219 kB / 433 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.3931, allocations: 1.734 kB / 433 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.3931, allocations: 9.969 kB / 433 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.3931, allocations: 2.078 kB / 433 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.3933, allocations: 168.6 kB / 433.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/0.3933, allocations: 97.92 kB / 433.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.3933, allocations: 1.531 kB / 433.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.302e-05/0.3934, allocations: 10.42 kB / 433.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.3935, allocations: 2.547 kB / 433.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.3935, allocations: 3.031 kB / 433.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.96e-05/0.3935, allocations: 114 kB / 433.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3935, allocations: 1.219 kB / 433.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002412/0.3938, allocations: 5.812 kB / 433.4 MB, free: 10.18 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 8.986e-05/0.3939, allocations: 98.56 kB / 433.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000164/0.394, allocations: 36.91 kB / 433.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.394, allocations: 0 / 433.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.159e-05/0.3941, allocations: 12.91 kB / 433.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.3944, allocations: 27.38 kB / 433.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003518/0.3948, allocations: 187.3 kB / 433.8 MB, free: 9.938 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001494/0.3949, allocations: 0.6987 MB / 434.5 MB, free: 9.242 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.253e-05/0.395, allocations: 10.22 kB / 434.5 MB, free: 9.234 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.395, allocations: 0 / 434.5 MB, free: 9.234 MB / 350.1 MB Notification: Performance of Templates: time 0.002376/0.3973, allocations: 0.7668 MB / 435.3 MB, free: 9.215 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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: 6.79638197296299]