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.0019/0.0019, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 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.002251/0.002251, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 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 1.473/1.473, allocations: 225.6 MB / 250.8 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001465/0.001465, allocations: 47.92 kB / 368.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3116, allocations: 52.13 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003303/0.3149, allocations: 1.603 MB / 422.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000927/0.3158, allocations: 482.7 kB / 422.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.4e-05/0.3159, allocations: 0 / 422.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.542e-05/0.316, allocations: 3.938 kB / 422.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.3161, allocations: 19.86 kB / 423 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.3164, allocations: 42.02 kB / 423 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.3165, allocations: 43.8 kB / 423 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.3166, allocations: 15.97 kB / 423.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.171e-05/0.3167, allocations: 23.92 kB / 423.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.885e-05/0.3168, allocations: 19.86 kB / 423.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.3168, allocations: 4 kB / 423.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.486e-05/0.3168, allocations: 4 kB / 423.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.173e-05/0.3168, allocations: 8 kB / 423.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.306e-05/0.3169, allocations: 27.8 kB / 423.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.317, allocations: 60.89 kB / 423.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.317, allocations: 0 / 423.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.317, allocations: 0 / 423.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.317, allocations: 0 / 423.2 MB, free: 12.77 MB / 334.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.0006011/0.3176, allocations: 379.1 kB / 423.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.3177, allocations: 12.03 kB / 423.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.102e-05/0.3177, allocations: 12.89 kB / 423.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.318, allocations: 192.2 kB / 423.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.3181, allocations: 8.375 kB / 423.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.3181, allocations: 384 / 423.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/0.3184, allocations: 129.3 kB / 423.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3184, allocations: 0 / 423.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.3184, allocations: 0 / 423.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3184, allocations: 0 / 423.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.273e-05/0.3185, allocations: 23.92 kB / 423.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.3189, allocations: 265.8 kB / 424.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.3191, allocations: 142.2 kB / 424.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.412e-05/0.3192, allocations: 29.77 kB / 424.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.3192, allocations: 7.938 kB / 424.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.3193, allocations: 38.48 kB / 424.4 MB, free: 11.35 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.3193, allocations: 0 / 424.4 MB, free: 11.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002838/0.3196, allocations: 85.55 kB / 424.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/0.3196, allocations: 81.11 kB / 424.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.3198, allocations: 133.8 kB / 424.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.3198, allocations: 29.83 kB / 424.7 MB, free: 10.99 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.353e-05/0.3198, allocations: 92.12 kB / 424.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.3199, allocations: 3.953 kB / 424.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.3199, allocations: 17.72 kB / 424.9 MB, free: 10.87 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3201, allocations: 318.8 kB / 425.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.637e-05/0.3201, allocations: 12 kB / 425.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.544e-05/0.3202, allocations: 35.42 kB / 425.2 MB, free: 10.49 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.3203, allocations: 47.36 kB / 425.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3203, allocations: 0 / 425.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001427/0.3204, allocations: 73.56 kB / 425.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.3204, allocations: 4 kB / 425.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.3204, allocations: 4 kB / 425.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.3204, allocations: 0 / 425.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.118e-05/0.3205, allocations: 11.94 kB / 425.4 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.3205, allocations: 0 / 425.4 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.285e-05/0.3206, allocations: 7.984 kB / 425.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.3206, allocations: 0 / 425.4 MB, free: 10.32 MB / 334.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 0.0001167/0.3207, allocations: 129.8 kB / 425.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.87e-05/0.3208, allocations: 53.64 kB / 425.5 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.133e-05/0.3208, allocations: 4.25 kB / 425.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.3208, allocations: 4 kB / 425.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.3208, allocations: 7.938 kB / 425.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3208, allocations: 0 / 425.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.321, allocations: 177.5 kB / 425.7 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.321, allocations: 4 kB / 425.7 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.014e-05/0.3211, allocations: 4 kB / 425.7 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.3211, allocations: 4 kB / 425.7 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.158e-06/0.3211, allocations: 0 / 425.7 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3211, allocations: 4 kB / 425.7 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.3211, allocations: 3.984 kB / 425.7 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.3213, allocations: 176.2 kB / 425.9 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.643e-05/0.3214, allocations: 93.05 kB / 426 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.3214, allocations: 7.938 kB / 426 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.362e-05/0.3215, allocations: 0 / 426 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.3215, allocations: 7.938 kB / 426 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.3215, allocations: 4 kB / 426 MB, free: 9.543 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.3216, allocations: 109.9 kB / 426.1 MB, free: 9.438 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3216, allocations: 0 / 426.1 MB, free: 9.438 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.3219, allocations: 4 kB / 426.1 MB, free: 9.434 MB / 334.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 0.0001596/0.322, allocations: 96.05 kB / 426.2 MB, free: 9.332 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001833/0.3222, allocations: 44.03 kB / 426.3 MB, free: 9.289 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3222, allocations: 0 / 426.3 MB, free: 9.289 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.046e-05/0.3223, allocations: 4 kB / 426.3 MB, free: 9.285 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.3226, allocations: 23.95 kB / 426.3 MB, free: 9.262 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004213/0.323, allocations: 171.9 kB / 426.5 MB, free: 9.066 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.3234, allocations: 0.6924 MB / 427.2 MB, free: 8.348 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.491e-05/0.3235, allocations: 12.23 kB / 427.2 MB, free: 8.336 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.976e-05/0.3235, allocations: 7.438 kB / 427.2 MB, free: 8.328 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3235, allocations: 0 / 427.2 MB, free: 8.328 MB / 334.1 MB Notification: Performance of Templates: time 0.003458/0.327, allocations: 0.5342 MB / 427.7 MB, free: 7.797 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.901448079384863]