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.001748/0.001748, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002315/0.002315, allocations: 211.8 kB / 24.54 MB, free: 4.016 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.658/1.658, allocations: 230.6 MB / 258.2 MB, free: 8.062 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.002256/0.002256, allocations: 64.77 kB / 379 MB, free: 2.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3264, allocations: 53.38 MB / 432.4 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002989/0.3294, allocations: 1.514 MB / 433.9 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.3305, allocations: 486.7 kB / 434.4 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.416e-05/0.3306, allocations: 3.938 kB / 434.4 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.632e-05/0.3306, allocations: 7.922 kB / 434.4 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.738e-05/0.3307, allocations: 7.922 kB / 434.4 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.3311, allocations: 31.91 kB / 434.5 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.3312, allocations: 35.86 kB / 434.5 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.3313, allocations: 11.98 kB / 434.5 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.3315, allocations: 31.92 kB / 434.5 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.56e-05/0.3316, allocations: 19.86 kB / 434.6 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.3316, allocations: 4 kB / 434.6 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.789e-05/0.3317, allocations: 4 kB / 434.6 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.488e-05/0.3317, allocations: 15.86 kB / 434.6 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.958e-05/0.3317, allocations: 15.94 kB / 434.6 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.3319, allocations: 45.44 kB / 434.6 MB, free: 4.746 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.3319, allocations: 0 / 434.6 MB, free: 4.746 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3319, allocations: 0 / 434.6 MB, free: 4.746 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.3319, allocations: 4 kB / 434.6 MB, free: 4.742 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.0006204/0.3325, allocations: 274.2 kB / 434.9 MB, free: 4.445 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.3326, allocations: 8.031 kB / 434.9 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.3328, allocations: 12.92 kB / 434.9 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.3331, allocations: 122.4 kB / 435 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.3331, allocations: 384 / 435.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.3332, allocations: 8.359 kB / 435.1 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003855/0.3335, allocations: 123.5 kB / 435.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3336, allocations: 0 / 435.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.3336, allocations: 4 kB / 435.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.3336, allocations: 0 / 435.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.832e-05/0.3337, allocations: 19.97 kB / 435.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002034/0.3339, allocations: 132.8 kB / 435.3 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.334, allocations: 58.48 kB / 435.4 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.91e-05/0.3341, allocations: 24.92 kB / 435.4 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.3341, allocations: 0 / 435.4 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.3342, allocations: 38.5 kB / 435.5 MB, free: 3.805 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.3342, allocations: 0 / 435.5 MB, free: 3.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002761/0.3345, allocations: 81.61 kB / 435.5 MB, free: 3.719 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.3345, allocations: 59.34 kB / 435.6 MB, free: 3.648 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.3347, allocations: 113.8 kB / 435.7 MB, free: 3.527 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.3347, allocations: 25.7 kB / 435.7 MB, free: 3.496 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.089e-05/0.3348, allocations: 88.14 kB / 435.8 MB, free: 3.406 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.014e-06/0.3348, allocations: 384 / 435.8 MB, free: 3.406 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.3348, allocations: 13.72 kB / 435.8 MB, free: 3.387 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.335, allocations: 318.8 kB / 436.1 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.693e-05/0.335, allocations: 12 kB / 436.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.526e-05/0.335, allocations: 31.38 kB / 436.2 MB, free: 3.012 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.593e-05/0.3351, allocations: 39.36 kB / 436.2 MB, free: 2.961 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3351, allocations: 4 kB / 436.2 MB, free: 2.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.485e-05/0.3352, allocations: 53.59 kB / 436.3 MB, free: 2.898 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.3352, allocations: 11.94 kB / 436.3 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3352, allocations: 0 / 436.3 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3352, allocations: 0 / 436.3 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.143e-05/0.3353, allocations: 11.98 kB / 436.3 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.3353, allocations: 3.938 kB / 436.3 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.263e-05/0.3353, allocations: 4 kB / 436.3 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.3353, allocations: 128 / 436.3 MB, free: 2.867 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 9.013e-05/0.3354, allocations: 117.8 kB / 436.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.3355, allocations: 61.61 kB / 436.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.572e-05/0.3356, allocations: 8 kB / 436.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3356, allocations: 0 / 436.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3356, allocations: 336 / 436.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.3356, allocations: 4 kB / 436.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.3357, allocations: 136.6 kB / 436.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3357, allocations: 0 / 436.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.156e-05/0.3358, allocations: 15.94 kB / 436.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.3358, allocations: 7.922 kB / 436.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.3358, allocations: 7.984 kB / 436.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3358, allocations: 0 / 436.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3358, allocations: 0 / 436.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.336, allocations: 85.11 kB / 436.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/0.336, allocations: 7.891 kB / 436.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.336, allocations: 4 kB / 436.8 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.23e-05/0.3361, allocations: 7.938 kB / 436.8 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-06/0.3361, allocations: 0 / 436.8 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.3361, allocations: 0 / 436.8 MB, free: 2.328 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.997e-05/0.3361, allocations: 91.27 kB / 436.8 MB, free: 2.238 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3361, allocations: 0 / 436.8 MB, free: 2.238 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000199/0.3363, allocations: 8 kB / 436.9 MB, free: 2.23 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.0001121/0.3365, allocations: 99.47 kB / 437 MB, free: 2.125 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000137/0.3366, allocations: 27.98 kB / 437 MB, free: 2.098 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.3366, allocations: 0 / 437 MB, free: 2.098 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.3366, allocations: 3.938 kB / 437 MB, free: 2.094 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.3368, allocations: 26.58 kB / 437 MB, free: 2.07 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003189/0.3371, allocations: 138.9 kB / 437.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.3375, allocations: 0.6807 MB / 437.8 MB, free: 1.203 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.031e-05/0.3375, allocations: 8.25 kB / 437.8 MB, free: 1.195 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.556e-05/0.3375, allocations: 7.438 kB / 437.8 MB, free: 1.188 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3375, allocations: 0 / 437.8 MB, free: 1.188 MB / 334.1 MB Notification: Performance of Templates: time 0.00294/0.3405, allocations: 392.5 kB / 438.2 MB, free: 0.8047 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.9987175995483994]