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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001559/0.001559, allocations: 107.4 kB / 17.98 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001362/0.001362, allocations: 217.8 kB / 18.93 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.544/1.544, allocations: 227.7 MB / 247.4 MB, free: 10.52 MB / 206.1 MB 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.002235/0.002235, allocations: 64.7 kB / 307.4 MB, free: 0.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1353, allocations: 50.54 MB / 357.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.004438/0.1398, allocations: 1.644 MB / 359.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.1412, allocations: 0.561 MB / 360.1 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.1414, allocations: 0 / 360.1 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.27e-05/0.1415, allocations: 7.875 kB / 360.1 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002559/0.1418, allocations: 7.938 kB / 360.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005369/0.1423, allocations: 55.88 kB / 360.2 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.1425, allocations: 47.84 kB / 360.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.1426, allocations: 20.17 kB / 360.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.1428, allocations: 35.8 kB / 360.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.619e-05/0.1429, allocations: 23.91 kB / 360.3 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.143, allocations: 0 / 360.3 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.265e-05/0.143, allocations: 8 kB / 360.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.064e-05/0.1431, allocations: 15.92 kB / 360.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.375e-05/0.1432, allocations: 27.75 kB / 360.4 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.1433, allocations: 47.92 kB / 360.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1434, allocations: 7.938 kB / 360.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1434, allocations: 0 / 360.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.1434, allocations: 0 / 360.4 MB, free: 11.71 MB / 302.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.0007149/0.1441, allocations: 375.3 kB / 360.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.1442, allocations: 12.03 kB / 360.8 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002312/0.1444, allocations: 16.83 kB / 360.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.1448, allocations: 202 kB / 361 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.1448, allocations: 8.375 kB / 361 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.1448, allocations: 3.938 kB / 361 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/0.1452, allocations: 113.9 kB / 361.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1452, allocations: 0 / 361.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.1452, allocations: 0 / 361.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.1452, allocations: 0 / 361.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.1454, allocations: 35.86 kB / 361.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.1459, allocations: 274.5 kB / 361.5 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.146, allocations: 71.8 kB / 361.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.868e-05/0.1461, allocations: 30.62 kB / 361.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.1462, allocations: 4 kB / 361.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.255e-05/0.1462, allocations: 34.56 kB / 361.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.1462, allocations: 7.938 kB / 361.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003364/0.1465, allocations: 85.5 kB / 361.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.1467, allocations: 110.8 kB / 361.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.1469, allocations: 144.2 kB / 361.9 MB, free: 9.965 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.1469, allocations: 33.69 kB / 362 MB, free: 9.926 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.439e-05/0.147, allocations: 96.42 kB / 362.1 MB, free: 9.828 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.147, allocations: 0 / 362.1 MB, free: 9.828 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.835e-05/0.1471, allocations: 17.72 kB / 362.1 MB, free: 9.805 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.1473, allocations: 318.8 kB / 362.4 MB, free: 9.484 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.789e-05/0.1473, allocations: 8 kB / 362.4 MB, free: 9.477 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.733e-05/0.1474, allocations: 39.34 kB / 362.4 MB, free: 9.426 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.1476, allocations: 51.42 kB / 362.5 MB, free: 9.363 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.1476, allocations: 0 / 362.5 MB, free: 9.363 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001584/0.1477, allocations: 73.45 kB / 362.6 MB, free: 9.285 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.1478, allocations: 8.125 kB / 362.6 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.1478, allocations: 0 / 362.6 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.1478, allocations: 4 kB / 362.6 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.97e-05/0.1479, allocations: 7.984 kB / 362.6 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1479, allocations: 4 kB / 362.6 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.556e-05/0.148, allocations: 3.938 kB / 362.6 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.148, allocations: 8 kB / 362.6 MB, free: 9.25 MB / 302.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.0001131/0.1481, allocations: 117.8 kB / 362.7 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.1482, allocations: 57.59 kB / 362.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.331e-05/0.1483, allocations: 19.8 kB / 362.8 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1483, allocations: 0 / 362.8 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1483, allocations: 0 / 362.8 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.485e-06/0.1483, allocations: 7.938 kB / 362.8 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/0.1486, allocations: 165.7 kB / 363 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1486, allocations: 0 / 363 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.168e-05/0.1487, allocations: 15.92 kB / 363 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1487, allocations: 7.938 kB / 363 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.1487, allocations: 0 / 363 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1487, allocations: 0 / 363 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.1487, allocations: 4.062 kB / 363 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.149, allocations: 177.1 kB / 363.2 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.577e-05/0.1491, allocations: 93 kB / 363.2 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.1491, allocations: 0 / 363.2 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.341e-05/0.1492, allocations: 8 kB / 363.3 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.1492, allocations: 7.922 kB / 363.3 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.1492, allocations: 8 kB / 363.3 MB, free: 8.465 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.1493, allocations: 108.5 kB / 363.4 MB, free: 8.359 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1494, allocations: 0 / 363.4 MB, free: 8.359 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002537/0.1496, allocations: 11.98 kB / 363.4 MB, free: 8.348 MB / 302.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.0001834/0.1498, allocations: 95.25 kB / 363.5 MB, free: 8.246 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001819/0.15, allocations: 39.92 kB / 363.5 MB, free: 8.207 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.15, allocations: 0 / 363.5 MB, free: 8.207 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.208e-05/0.1501, allocations: 7.984 kB / 363.5 MB, free: 8.199 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005092/0.1506, allocations: 34.05 kB / 363.6 MB, free: 8.168 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000514/0.1511, allocations: 241.1 kB / 363.8 MB, free: 7.898 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000461/0.1516, allocations: 0.6885 MB / 364.5 MB, free: 7.184 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.192e-05/0.1516, allocations: 15.44 kB / 364.5 MB, free: 7.168 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1516, allocations: 0 / 364.5 MB, free: 7.168 MB / 302.1 MB Notification: Performance of Templates: time 0.003645/0.1553, allocations: 0.8425 MB / 365.3 MB, free: 6.332 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile (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) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches