Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002015/0.002015, allocations: 198.8 kB / 18.07 MB, free: 3.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 226.5 MB / 245.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000774/0.000774, allocations: 96.16 kB / 297.4 MB, free: 6.723 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002345/0.0002345, allocations: 8 kB / 357.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.203, allocations: 51.29 MB / 408.7 MB, free: 27.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08714/0.2902, allocations: 77.82 MB / 486.5 MB, free: 13.83 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/0.2904, allocations: 75.95 kB / 486.6 MB, free: 13.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003441/0.2939, allocations: 1.422 MB / 488 MB, free: 12.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2939, allocations: 1.344 kB / 488 MB, free: 12.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.2939, allocations: 4 kB / 488 MB, free: 12.34 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003629/0.2943, allocations: 375.9 kB / 488.4 MB, free: 11.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.2943, allocations: 11.5 kB / 488.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.2944, allocations: 8.844 kB / 488.4 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.2946, allocations: 196.1 kB / 488.6 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.2946, allocations: 4.375 kB / 488.6 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.2946, allocations: 8.375 kB / 488.6 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003237/0.2949, allocations: 168.6 kB / 488.7 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.295, allocations: 192 / 488.7 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.295, allocations: 10.84 kB / 488.8 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.295, allocations: 4 kB / 488.8 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.2951, allocations: 39.91 kB / 488.8 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.2955, allocations: 377.9 kB / 489.2 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.2957, allocations: 115.8 kB / 489.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.2958, allocations: 66.61 kB / 489.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.2959, allocations: 0 / 489.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.2959, allocations: 34.56 kB / 489.4 MB, free: 10.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.2959, allocations: 0 / 489.4 MB, free: 10.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003312/0.2962, allocations: 137.5 kB / 489.5 MB, free: 10.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.2963, allocations: 110.8 kB / 489.6 MB, free: 10.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.2964, allocations: 136.4 kB / 489.7 MB, free: 10.33 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.2964, allocations: 33.7 kB / 489.8 MB, free: 10.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.867e-05/0.2965, allocations: 92.31 kB / 489.9 MB, free: 10.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.2965, allocations: 11.91 kB / 489.9 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-06/0.2965, allocations: 4 kB / 489.9 MB, free: 10.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.862e-05/0.2966, allocations: 318.8 kB / 490.2 MB, free: 9.859 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.951e-05/0.2967, allocations: 15.98 kB / 490.2 MB, free: 9.844 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.884e-05/0.2968, allocations: 71.72 kB / 490.3 MB, free: 9.746 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.2969, allocations: 100.7 kB / 490.4 MB, free: 9.621 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2969, allocations: 0 / 490.4 MB, free: 9.621 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001767/0.2971, allocations: 113.4 kB / 490.5 MB, free: 9.504 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.2971, allocations: 4 kB / 490.5 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.2971, allocations: 4 kB / 490.5 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.2971, allocations: 0 / 490.5 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.028e-05/0.2972, allocations: 27.92 kB / 490.5 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.2972, allocations: 4 kB / 490.5 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.014e-05/0.2973, allocations: 8.266 kB / 490.5 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.2973, allocations: 12 kB / 490.6 MB, free: 9.445 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.708e-05/0.2974, allocations: 125.7 kB / 490.7 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.2975, allocations: 73.59 kB / 490.7 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.618e-05/0.2976, allocations: 12.72 kB / 490.8 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2976, allocations: 0 / 490.8 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.2976, allocations: 0 / 490.8 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.2976, allocations: 7.984 kB / 490.8 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.2978, allocations: 189.4 kB / 491 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2978, allocations: 3.938 kB / 491 MB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.637e-05/0.2979, allocations: 23.94 kB / 491 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.2979, allocations: 8.172 kB / 491 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.2979, allocations: 0 / 491 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2979, allocations: 3.938 kB / 491 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2979, allocations: 0 / 491 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.2983, allocations: 316.3 kB / 491.3 MB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.039e-05/0.2983, allocations: 93 kB / 491.4 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.2984, allocations: 11.92 kB / 491.4 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.761e-05/0.2985, allocations: 8 kB / 491.4 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.943e-05/0.2985, allocations: 7.938 kB / 491.4 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.2985, allocations: 4 kB / 491.4 MB, free: 8.469 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.34e-05/0.2986, allocations: 111.2 kB / 491.5 MB, free: 8.359 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2986, allocations: 0 / 491.5 MB, free: 8.359 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002619/0.2989, allocations: 8 kB / 491.5 MB, free: 8.352 MB / 362.7 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.727e-05/0.299, allocations: 99.25 kB / 491.6 MB, free: 8.242 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001697/0.2991, allocations: 64.34 kB / 491.7 MB, free: 8.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2992, allocations: 0 / 491.7 MB, free: 8.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.388e-05/0.2992, allocations: 16 kB / 491.7 MB, free: 8.164 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.2996, allocations: 42.36 kB / 491.8 MB, free: 8.125 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000372/0.3, allocations: 257.4 kB / 492 MB, free: 7.832 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.3003, allocations: 0.7004 MB / 492.7 MB, free: 7.105 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.3003, allocations: 11.44 kB / 492.7 MB, free: 7.094 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3003, allocations: 0 / 492.7 MB, free: 7.094 MB / 362.7 MB Notification: Performance of Templates: time 0.001968/0.3023, allocations: 0.9017 MB / 493.6 MB, free: 6.195 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches