Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 113.9 kB / 17.07 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 198.8 kB / 18 MB, free: 5.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001023, allocations: 51.92 kB / 351.3 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.412, allocations: 49.43 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002695/0.4148, allocations: 1.587 MB / 402.3 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008295/0.4156, allocations: 0.4947 MB / 402.8 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.9e-05/0.4157, allocations: 4 kB / 402.8 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.825e-05/0.4157, allocations: 7.875 kB / 402.8 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.4159, allocations: 11.91 kB / 402.8 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.4162, allocations: 54.33 kB / 402.9 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.4163, allocations: 51.78 kB / 402.9 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.4164, allocations: 16.17 kB / 402.9 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.77e-05/0.4165, allocations: 27.86 kB / 403 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.323e-05/0.4166, allocations: 19.86 kB / 403 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.4166, allocations: 4 kB / 403 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.227e-05/0.4166, allocations: 4 kB / 403 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.707e-05/0.4167, allocations: 15.92 kB / 403 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.887e-05/0.4167, allocations: 23.81 kB / 403 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.4168, allocations: 59.73 kB / 403.1 MB, free: 6.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4168, allocations: 0 / 403.1 MB, free: 6.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4169, allocations: 0 / 403.1 MB, free: 6.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.4169, allocations: 0 / 403.1 MB, free: 6.48 MB / 318.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.0004434/0.4173, allocations: 372.3 kB / 403.5 MB, free: 6.074 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.4174, allocations: 15.89 kB / 403.5 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.4174, allocations: 12.84 kB / 403.5 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.4176, allocations: 204 kB / 403.7 MB, free: 5.809 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.4177, allocations: 4.375 kB / 403.7 MB, free: 5.805 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.4177, allocations: 8.359 kB / 403.7 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002641/0.418, allocations: 114 kB / 403.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.418, allocations: 3.984 kB / 403.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.418, allocations: 4 kB / 403.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.418, allocations: 0 / 403.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.311e-05/0.4181, allocations: 23.92 kB / 403.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002987/0.4184, allocations: 274.6 kB / 404.1 MB, free: 5.309 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.4185, allocations: 67.78 kB / 404.2 MB, free: 5.215 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.385e-05/0.4186, allocations: 34.62 kB / 404.2 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.4186, allocations: 3.984 kB / 404.2 MB, free: 5.168 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.4186, allocations: 38.56 kB / 404.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 3.427e-06/0.4186, allocations: 0 / 404.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002667/0.4189, allocations: 93.73 kB / 404.3 MB, free: 5.023 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.823e-05/0.419, allocations: 102.8 kB / 404.4 MB, free: 4.898 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.4191, allocations: 149.8 kB / 404.6 MB, free: 4.742 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.4192, allocations: 25.7 kB / 404.6 MB, free: 4.711 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/0.4192, allocations: 88.05 kB / 404.7 MB, free: 4.621 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.527e-05/0.4193, allocations: 4 kB / 404.7 MB, free: 4.617 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.4193, allocations: 21.7 kB / 404.7 MB, free: 4.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.4194, allocations: 322.8 kB / 405 MB, free: 4.266 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.312e-05/0.4195, allocations: 11.98 kB / 405.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.03e-05/0.4195, allocations: 31.38 kB / 405.1 MB, free: 4.211 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.743e-05/0.4196, allocations: 51.42 kB / 405.1 MB, free: 4.148 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4196, allocations: 0 / 405.1 MB, free: 4.148 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001334/0.4198, allocations: 77.45 kB / 405.2 MB, free: 4.066 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.4198, allocations: 4 kB / 405.2 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4198, allocations: 4 kB / 405.2 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.4198, allocations: 0 / 405.2 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.078e-05/0.4199, allocations: 12.11 kB / 405.2 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.4199, allocations: 4 kB / 405.2 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.191e-05/0.42, allocations: 7.938 kB / 405.2 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.42, allocations: 4 kB / 405.3 MB, free: 4.031 MB / 318.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.839e-05/0.4201, allocations: 125.8 kB / 405.4 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.456e-05/0.4201, allocations: 49.55 kB / 405.4 MB, free: 3.844 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.4202, allocations: 15.86 kB / 405.4 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4202, allocations: 0 / 405.4 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4202, allocations: 64 / 405.4 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.4202, allocations: 8 kB / 405.4 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.4204, allocations: 169.6 kB / 405.6 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.4204, allocations: 4 kB / 405.6 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.84e-05/0.4205, allocations: 15.86 kB / 405.6 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4205, allocations: 4 kB / 405.6 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.4205, allocations: 0 / 405.6 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.4205, allocations: 0 / 405.6 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4205, allocations: 4 kB / 405.6 MB, free: 3.574 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.4207, allocations: 181.1 kB / 405.8 MB, free: 3.375 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.371e-05/0.4208, allocations: 89 kB / 405.9 MB, free: 3.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.4208, allocations: 0 / 405.9 MB, free: 3.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.911e-05/0.4209, allocations: 11.94 kB / 405.9 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/0.4209, allocations: 3.984 kB / 405.9 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.4209, allocations: 4 kB / 405.9 MB, free: 3.25 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.413e-05/0.421, allocations: 114 kB / 406 MB, free: 3.141 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.421, allocations: 3.938 kB / 406 MB, free: 3.137 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002244/0.4212, allocations: 8 kB / 406 MB, free: 3.129 MB / 318.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.0001003/0.4213, allocations: 99.19 kB / 406.1 MB, free: 3.023 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000145/0.4215, allocations: 35.92 kB / 406.2 MB, free: 2.988 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4215, allocations: 0 / 406.2 MB, free: 2.988 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.79e-05/0.4215, allocations: 12.23 kB / 406.2 MB, free: 2.977 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.4219, allocations: 27.95 kB / 406.2 MB, free: 2.949 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003545/0.4222, allocations: 180.5 kB / 406.4 MB, free: 2.738 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.4225, allocations: 0.6961 MB / 407.1 MB, free: 2.016 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.162e-05/0.4226, allocations: 8.25 kB / 407.1 MB, free: 2.008 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.475e-05/0.4226, allocations: 7.438 kB / 407.1 MB, free: 2 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4226, allocations: 0 / 407.1 MB, free: 2 MB / 318.1 MB Notification: Performance of Templates: time 0.002618/0.4252, allocations: 0.6023 MB / 407.7 MB, free: 1.402 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches