Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.001451/0.001451, allocations: 120.5 kB / 18.41 MB, free: 4.664 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.00151/0.001511, allocations: 190.7 kB / 21.35 MB, free: 1.734 MB / 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.552/1.552, allocations: 222.9 MB / 247 MB, free: 4.215 MB / 190.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.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 47.92 kB / 358.7 MB, free: 8.336 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1221, allocations: 49.45 MB / 408.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003643/0.1258, allocations: 1.481 MB / 409.6 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008524/0.1267, allocations: 430.9 kB / 410 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.073e-05/0.1268, allocations: 0 / 410 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.913e-05/0.1269, allocations: 3.938 kB / 410 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.567e-05/0.127, allocations: 11.88 kB / 410 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.1272, allocations: 35.89 kB / 410.1 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.1273, allocations: 31.86 kB / 410.1 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1275, allocations: 12 kB / 410.1 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.323e-05/0.1276, allocations: 23.91 kB / 410.1 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.669e-05/0.1276, allocations: 19.92 kB / 410.2 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.1277, allocations: 0 / 410.2 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.264e-05/0.1277, allocations: 4 kB / 410.2 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.169e-05/0.1277, allocations: 7.938 kB / 410.2 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.99e-05/0.1277, allocations: 11.94 kB / 410.2 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.1279, allocations: 47.75 kB / 410.2 MB, free: 4.727 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1279, allocations: 0 / 410.2 MB, free: 4.727 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1279, allocations: 0 / 410.2 MB, free: 4.727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.1279, allocations: 0 / 410.2 MB, free: 4.727 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.0005613/0.1285, allocations: 359.2 kB / 410.6 MB, free: 4.328 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.1285, allocations: 8.031 kB / 410.6 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.753e-05/0.1286, allocations: 8.891 kB / 410.6 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.1288, allocations: 176.3 kB / 410.8 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.1289, allocations: 12.36 kB / 410.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.1289, allocations: 384 / 410.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003594/0.1293, allocations: 123.6 kB / 410.9 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1293, allocations: 7.938 kB / 410.9 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.1293, allocations: 0 / 410.9 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.1293, allocations: 3.938 kB / 410.9 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.159e-05/0.1294, allocations: 19.98 kB / 410.9 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002054/0.1296, allocations: 161.7 kB / 411.1 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.1298, allocations: 58.55 kB / 411.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.192e-05/0.1299, allocations: 24.92 kB / 411.2 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.1299, allocations: 0 / 411.2 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.13, allocations: 38.5 kB / 411.2 MB, free: 3.578 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.13, allocations: 0 / 411.2 MB, free: 3.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002722/0.1302, allocations: 77.56 kB / 411.3 MB, free: 3.496 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.1303, allocations: 63.39 kB / 411.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.1304, allocations: 109.8 kB / 411.4 MB, free: 3.305 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.1305, allocations: 25.7 kB / 411.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.009e-05/0.1305, allocations: 92.08 kB / 411.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.753e-06/0.1305, allocations: 0 / 411.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.1306, allocations: 13.72 kB / 411.6 MB, free: 3.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1308, allocations: 318.8 kB / 411.9 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.346e-05/0.1308, allocations: 8 kB / 411.9 MB, free: 2.832 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.804e-05/0.1308, allocations: 31.38 kB / 411.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.39e-05/0.1309, allocations: 23.44 kB / 411.9 MB, free: 2.754 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.1309, allocations: 4 kB / 412 MB, free: 2.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.495e-05/0.131, allocations: 61.56 kB / 412 MB, free: 2.684 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.131, allocations: 11.94 kB / 412 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.131, allocations: 0 / 412 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.131, allocations: 0 / 412 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.285e-05/0.1311, allocations: 11.98 kB / 412 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1311, allocations: 0 / 412 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.395e-05/0.1312, allocations: 4 kB / 412 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-06/0.1312, allocations: 0 / 412 MB, free: 2.656 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.0001113/0.1313, allocations: 125.8 kB / 412.2 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.1314, allocations: 61.58 kB / 412.2 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.1315, allocations: 12.59 kB / 412.2 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1315, allocations: 0 / 412.2 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1315, allocations: 0 / 412.2 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.1315, allocations: 7.984 kB / 412.2 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.1316, allocations: 161.6 kB / 412.4 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1317, allocations: 0 / 412.4 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.166e-05/0.1317, allocations: 8 kB / 412.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.1317, allocations: 7.938 kB / 412.4 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.1317, allocations: 0 / 412.4 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1318, allocations: 0 / 412.4 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1318, allocations: 0 / 412.4 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.1319, allocations: 97 kB / 412.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.024e-05/0.132, allocations: 85.03 kB / 412.6 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.1321, allocations: 4 kB / 412.6 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.451e-05/0.1321, allocations: 8 kB / 412.6 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.625e-06/0.1321, allocations: 0 / 412.6 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.1321, allocations: 0 / 412.6 MB, free: 1.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.567e-05/0.1322, allocations: 91.27 kB / 412.7 MB, free: 1.891 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1322, allocations: 3.938 kB / 412.7 MB, free: 1.887 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002025/0.1324, allocations: 4 kB / 412.7 MB, free: 1.883 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.0001508/0.1326, allocations: 103.7 kB / 412.8 MB, free: 1.773 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001415/0.1327, allocations: 31.98 kB / 412.8 MB, free: 1.742 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1327, allocations: 0 / 412.8 MB, free: 1.742 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.1327, allocations: 0 / 412.8 MB, free: 1.742 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.133, allocations: 28 kB / 412.9 MB, free: 1.715 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.1333, allocations: 164.3 kB / 413 MB, free: 1.523 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.1338, allocations: 0.6844 MB / 413.7 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.1338, allocations: 7.438 kB / 413.7 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1338, allocations: 4.188 kB / 413.7 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of Templates: time 0.002588/0.1364, allocations: 0.5824 MB / 414.3 MB, free: 220 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.9558916200185195]