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.TimeBasedSine.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.001549/0.001549, allocations: 115.5 kB / 21.18 MB, free: 0.5898 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.00168/0.00168, allocations: 210.9 kB / 24.47 MB, free: 3.996 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.437/1.437, allocations: 230.5 MB / 258.1 MB, free: 8.148 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.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") [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.001896/0.001896, allocations: 67.84 kB / 378.7 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3067, allocations: 53.31 MB / 432.1 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002827/0.3095, allocations: 1.526 MB / 433.6 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008748/0.3104, allocations: 490.7 kB / 434.1 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.884e-05/0.3104, allocations: 0 / 434.1 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.353e-05/0.3105, allocations: 3.938 kB / 434.1 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.365e-05/0.3106, allocations: 15.86 kB / 434.1 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.3109, allocations: 27.91 kB / 434.1 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.311, allocations: 31.92 kB / 434.1 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.88e-05/0.3111, allocations: 19.98 kB / 434.2 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.3112, allocations: 23.81 kB / 434.2 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.091e-05/0.3112, allocations: 19.91 kB / 434.2 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.3113, allocations: 4 kB / 434.2 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.597e-05/0.3113, allocations: 4 kB / 434.2 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.104e-05/0.3113, allocations: 15.92 kB / 434.2 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.959e-05/0.3113, allocations: 15.88 kB / 434.2 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.3115, allocations: 41.78 kB / 434.3 MB, free: 5.129 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3115, allocations: 0 / 434.3 MB, free: 5.129 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3115, allocations: 4 kB / 434.3 MB, free: 5.125 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.3115, allocations: 4 kB / 434.3 MB, free: 5.121 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005068/0.312, allocations: 351.3 kB / 434.6 MB, free: 4.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.312, allocations: 8.031 kB / 434.6 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.3122, allocations: 8.938 kB / 434.6 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.3124, allocations: 184.2 kB / 434.8 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.3124, allocations: 4.375 kB / 434.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.3124, allocations: 4.375 kB / 434.8 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003277/0.3128, allocations: 119.6 kB / 434.9 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3128, allocations: 0 / 434.9 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.3128, allocations: 0 / 434.9 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3128, allocations: 0 / 434.9 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.232e-05/0.3129, allocations: 19.98 kB / 435 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001888/0.3131, allocations: 165.6 kB / 435.1 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.3132, allocations: 54.5 kB / 435.2 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.557e-05/0.3133, allocations: 28.84 kB / 435.2 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.3133, allocations: 4 kB / 435.2 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.3133, allocations: 42.48 kB / 435.3 MB, free: 3.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.3134, allocations: 4 kB / 435.3 MB, free: 3.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002495/0.3136, allocations: 73.61 kB / 435.3 MB, free: 3.898 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.3137, allocations: 51.41 kB / 435.4 MB, free: 3.836 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.991e-05/0.3138, allocations: 117.8 kB / 435.5 MB, free: 3.711 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.3138, allocations: 25.7 kB / 435.5 MB, free: 3.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.905e-05/0.3138, allocations: 84.14 kB / 435.6 MB, free: 3.594 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.107e-06/0.3138, allocations: 4 kB / 435.6 MB, free: 3.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.3139, allocations: 21.7 kB / 435.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.314, allocations: 314.8 kB / 435.9 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.049e-05/0.314, allocations: 0 / 435.9 MB, free: 3.246 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.403e-05/0.3141, allocations: 31.42 kB / 436 MB, free: 3.203 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.78e-05/0.3141, allocations: 39.38 kB / 436 MB, free: 3.152 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3141, allocations: 0 / 436 MB, free: 3.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.957e-05/0.3142, allocations: 57.58 kB / 436.1 MB, free: 3.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.3142, allocations: 11.94 kB / 436.1 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3142, allocations: 7.938 kB / 436.1 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3142, allocations: 0 / 436.1 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.292e-05/0.3143, allocations: 8 kB / 436.1 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3143, allocations: 128 / 436.1 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.939e-05/0.3143, allocations: 4 kB / 436.1 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.3143, allocations: 4 kB / 436.1 MB, free: 3.055 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 8.45e-05/0.3144, allocations: 113.8 kB / 436.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.3145, allocations: 61.61 kB / 436.3 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.3146, allocations: 11.84 kB / 436.3 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3146, allocations: 0 / 436.3 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3146, allocations: 0 / 436.3 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3146, allocations: 0 / 436.3 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.3147, allocations: 165.6 kB / 436.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3147, allocations: 0 / 436.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.746e-05/0.3147, allocations: 11.98 kB / 436.5 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.3147, allocations: 3.938 kB / 436.5 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.3148, allocations: 4 kB / 436.5 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3148, allocations: 7.938 kB / 436.5 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3148, allocations: 0 / 436.5 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.3149, allocations: 81.11 kB / 436.5 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-05/0.315, allocations: 96.94 kB / 436.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.315, allocations: 0 / 436.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.519e-05/0.315, allocations: 7.984 kB / 436.7 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-06/0.315, allocations: 4 kB / 436.7 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.315, allocations: 0 / 436.7 MB, free: 2.391 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.457e-05/0.3151, allocations: 95.53 kB / 436.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3151, allocations: 0 / 436.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001834/0.3153, allocations: 8 kB / 436.8 MB, free: 2.289 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0001146/0.3154, allocations: 103.2 kB / 436.9 MB, free: 2.176 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.3155, allocations: 28.3 kB / 436.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3155, allocations: 0 / 436.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.3155, allocations: 0 / 436.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.3157, allocations: 19.98 kB / 436.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003004/0.316, allocations: 168.5 kB / 437.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.3163, allocations: 0.6848 MB / 437.8 MB, free: 1.223 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/0.3164, allocations: 15.42 kB / 437.8 MB, free: 1.207 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3164, allocations: 0 / 437.8 MB, free: 1.207 MB / 334.1 MB Notification: Performance of Templates: time 0.002001/0.3184, allocations: 0.5919 MB / 438.4 MB, free: 0.6133 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.757311901077628]