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.SuperSample.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.001612/0.001612, allocations: 117 kB / 21.18 MB, free: 0.625 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.001623/0.001623, allocations: 203.9 kB / 24.46 MB, free: 4.047 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.546/1.546, allocations: 230.4 MB / 258.1 MB, free: 8.145 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [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.001977/0.001977, allocations: 71.83 kB / 378.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3086, allocations: 53.31 MB / 432.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003275/0.3119, allocations: 1.613 MB / 433.7 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.313, allocations: 0.5766 MB / 434.2 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.756e-05/0.3131, allocations: 4 kB / 434.2 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.631e-05/0.3132, allocations: 3.938 kB / 434.2 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.3133, allocations: 15.86 kB / 434.3 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.3137, allocations: 71.73 kB / 434.3 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.3138, allocations: 47.73 kB / 434.4 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.3139, allocations: 20.17 kB / 434.4 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.314, allocations: 23.91 kB / 434.4 MB, free: 5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.151e-05/0.3141, allocations: 23.86 kB / 434.4 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.3141, allocations: 4 kB / 434.5 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.987e-05/0.3141, allocations: 4 kB / 434.5 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.745e-05/0.3142, allocations: 11.94 kB / 434.5 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.484e-05/0.3142, allocations: 27.8 kB / 434.5 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.3144, allocations: 73.58 kB / 434.6 MB, free: 4.859 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3144, allocations: 0 / 434.6 MB, free: 4.859 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3144, allocations: 0 / 434.6 MB, free: 4.859 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.3144, allocations: 4 kB / 434.6 MB, free: 4.855 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005911/0.315, allocations: 387 kB / 434.9 MB, free: 4.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.315, allocations: 8.031 kB / 435 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.3152, allocations: 16.88 kB / 435 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.3155, allocations: 200.8 kB / 435.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.3155, allocations: 384 / 435.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.3155, allocations: 11.94 kB / 435.2 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003084/0.3158, allocations: 113.9 kB / 435.3 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.3158, allocations: 0 / 435.3 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.3159, allocations: 0 / 435.3 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.3159, allocations: 0 / 435.3 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.164e-05/0.316, allocations: 27.92 kB / 435.3 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.3163, allocations: 274.5 kB / 435.6 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.3165, allocations: 75.84 kB / 435.7 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.503e-05/0.3165, allocations: 34.5 kB / 435.7 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.3166, allocations: 0 / 435.7 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.3166, allocations: 34.56 kB / 435.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.3166, allocations: 0 / 435.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002816/0.3169, allocations: 85.52 kB / 435.8 MB, free: 3.398 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.382e-05/0.317, allocations: 114.8 kB / 435.9 MB, free: 3.262 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.3171, allocations: 149.7 kB / 436.1 MB, free: 3.105 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.3171, allocations: 25.7 kB / 436.1 MB, free: 3.074 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/0.3172, allocations: 92.12 kB / 436.2 MB, free: 2.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.3172, allocations: 8.359 kB / 436.2 MB, free: 2.973 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.031e-05/0.3173, allocations: 25.67 kB / 436.2 MB, free: 2.941 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3174, allocations: 310.8 kB / 436.5 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.881e-05/0.3175, allocations: 15.98 kB / 436.5 MB, free: 2.613 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.394e-05/0.3175, allocations: 35.42 kB / 436.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.954e-05/0.3176, allocations: 55.3 kB / 436.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3176, allocations: 0 / 436.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001451/0.3178, allocations: 61.62 kB / 436.7 MB, free: 2.434 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3178, allocations: 7.938 kB / 436.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3178, allocations: 4.125 kB / 436.7 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3178, allocations: 7.984 kB / 436.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.762e-05/0.3179, allocations: 11.94 kB / 436.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3179, allocations: 0 / 436.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.62e-05/0.3179, allocations: 7.938 kB / 436.7 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.3179, allocations: 4 kB / 436.7 MB, free: 2.391 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.0001038/0.318, allocations: 121.8 kB / 436.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.3181, allocations: 61.61 kB / 436.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.481e-05/0.3182, allocations: 15.94 kB / 436.9 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.3182, allocations: 0 / 436.9 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.3182, allocations: 4 kB / 436.9 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.3182, allocations: 3.938 kB / 436.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.3184, allocations: 169.7 kB / 437.1 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3184, allocations: 3.984 kB / 437.1 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.772e-05/0.3185, allocations: 8 kB / 437.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3185, allocations: 0 / 437.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.3185, allocations: 0 / 437.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3185, allocations: 4 kB / 437.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3185, allocations: 0 / 437.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.3187, allocations: 181.1 kB / 437.3 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.9e-05/0.3188, allocations: 93.05 kB / 437.4 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.3188, allocations: 7.984 kB / 437.4 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.788e-05/0.3189, allocations: 0 / 437.4 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.3189, allocations: 11.94 kB / 437.4 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.3189, allocations: 4 kB / 437.4 MB, free: 1.609 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.148e-05/0.319, allocations: 113.3 kB / 437.5 MB, free: 1.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.319, allocations: 0 / 437.5 MB, free: 1.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002252/0.3192, allocations: 4 kB / 437.5 MB, free: 1.496 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0001185/0.3193, allocations: 99.19 kB / 437.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001694/0.3195, allocations: 40.09 kB / 437.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3195, allocations: 4.062 kB / 437.7 MB, free: 1.344 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.6e-05/0.3195, allocations: 4 kB / 437.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.3199, allocations: 31.89 kB / 437.7 MB, free: 1.309 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004219/0.3203, allocations: 217.9 kB / 437.9 MB, free: 1.059 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.3207, allocations: 0.6965 MB / 438.6 MB, free: 344 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.3207, allocations: 11.44 kB / 438.6 MB, free: 332 kB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3207, allocations: 3.938 kB / 438.6 MB, free: 328 kB / 334.1 MB Notification: Performance of Templates: time 0.002604/0.3233, allocations: 0.8515 MB / 439.5 MB, free: 15.47 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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: 7.1013045576401055]