Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001868/0.001868, allocations: 112.4 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003082/0.003082, allocations: 213.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.963/2.963, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002538/0.002538, allocations: 63.84 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6102/0.6128, allocations: 50.54 MB / 409.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.006463/0.6193, allocations: 1.546 MB / 411.5 MB, free: 56 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008853/0.6203, allocations: 139.5 kB / 411.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.6205, allocations: 0 / 411.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.6207, allocations: 7.938 kB / 411.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002596/0.621, allocations: 7.922 kB / 411.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005835/0.6216, allocations: 39.84 kB / 411.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.6218, allocations: 27.92 kB / 411.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.6221, allocations: 27.95 kB / 411.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.091e-05/0.6222, allocations: 11.88 kB / 411.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.743e-05/0.6223, allocations: 15.92 kB / 411.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/0.6223, allocations: 4 kB / 411.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.901e-05/0.6224, allocations: 4 kB / 411.8 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.6225, allocations: 15.92 kB / 411.8 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.919e-05/0.6226, allocations: 23.81 kB / 411.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.6229, allocations: 47.81 kB / 411.9 MB, free: 15.69 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.6229, allocations: 0 / 411.9 MB, free: 15.69 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.6229, allocations: 0 / 411.9 MB, free: 15.69 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.6229, allocations: 4 kB / 411.9 MB, free: 15.68 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008503/0.6238, allocations: 363.1 kB / 412.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.825e-05/0.6239, allocations: 8.031 kB / 412.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.652e-05/0.624, allocations: 12.84 kB / 412.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005303/0.6245, allocations: 189.4 kB / 412.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.6246, allocations: 8.375 kB / 412.4 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.6246, allocations: 384 / 412.4 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005138/0.6251, allocations: 121.5 kB / 412.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.6252, allocations: 192 / 412.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.6252, allocations: 3.938 kB / 412.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.6252, allocations: 0 / 412.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.6254, allocations: 23.92 kB / 412.6 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006636/0.6261, allocations: 269.6 kB / 412.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004618/0.6265, allocations: 142.2 kB / 413 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.6267, allocations: 29.77 kB / 413 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.6267, allocations: 0 / 413 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/0.6268, allocations: 34.56 kB / 413 MB, free: 14.3 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 2.144e-06/0.6268, allocations: 4 kB / 413 MB, free: 14.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004499/0.6273, allocations: 73.61 kB / 413.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.633e-05/0.6274, allocations: 77.11 kB / 413.2 MB, free: 14.12 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.6276, allocations: 138.1 kB / 413.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.6276, allocations: 25.7 kB / 413.3 MB, free: 13.94 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.864e-05/0.6277, allocations: 84.14 kB / 413.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.6278, allocations: 8.031 kB / 413.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.754e-05/0.6279, allocations: 21.72 kB / 413.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.6281, allocations: 314.8 kB / 413.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.099e-05/0.6282, allocations: 8 kB / 413.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.295e-05/0.6283, allocations: 31.42 kB / 413.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.6285, allocations: 51.36 kB / 413.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.6285, allocations: 0 / 413.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002526/0.6287, allocations: 81.39 kB / 413.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.6288, allocations: 6.812 kB / 413.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.6288, allocations: 4.125 kB / 413.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/0.6289, allocations: 4 kB / 413.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.629, allocations: 8 kB / 414 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.629, allocations: 0 / 414 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.46e-05/0.6291, allocations: 4 kB / 414 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.6291, allocations: 0 / 414 MB, free: 13.28 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.0001812/0.6293, allocations: 129.6 kB / 414.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.6294, allocations: 53.81 kB / 414.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.825e-05/0.6295, allocations: 16.28 kB / 414.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.6296, allocations: 4 kB / 414.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.6296, allocations: 0 / 414.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.6296, allocations: 7.938 kB / 414.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/0.6299, allocations: 165.6 kB / 414.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.6299, allocations: 0 / 414.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.272e-05/0.63, allocations: 15.98 kB / 414.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.6301, allocations: 3.938 kB / 414.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.6301, allocations: 4 kB / 414.4 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.6301, allocations: 0 / 414.4 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.6301, allocations: 4 kB / 414.4 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003576/0.6305, allocations: 172.2 kB / 414.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.6306, allocations: 85.09 kB / 414.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.6306, allocations: 8 kB / 414.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.6308, allocations: 0 / 414.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.385e-05/0.6308, allocations: 0 / 414.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.6309, allocations: 4 kB / 414.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001394/0.631, allocations: 114.8 kB / 414.7 MB, free: 12.4 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.631, allocations: 0 / 414.7 MB, free: 12.4 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004544/0.6315, allocations: 4 kB / 414.7 MB, free: 12.39 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0002072/0.6317, allocations: 95.25 kB / 414.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002777/0.632, allocations: 27.92 kB / 414.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.632, allocations: 0 / 414.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.614e-05/0.6321, allocations: 12.23 kB / 414.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006522/0.6328, allocations: 31.81 kB / 414.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007253/0.6335, allocations: 180.2 kB / 415.1 MB, free: 12.01 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004808/0.634, allocations: 0.6885 MB / 415.8 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.079e-05/0.6341, allocations: 7.438 kB / 415.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.6341, allocations: 0 / 415.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of Templates: time 0.004132/0.6383, allocations: 0.7053 MB / 416.5 MB, free: 10.58 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches