Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001298/0.001304, allocations: 117 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001509/0.001509, allocations: 216.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3005, allocations: 50.54 MB / 409.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003563/0.3042, allocations: 1.592 MB / 411.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.3054, allocations: 0.522 MB / 412 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.3055, allocations: 3.938 kB / 412 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.184e-05/0.3056, allocations: 3.938 kB / 412.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.3058, allocations: 15.92 kB / 412.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.3062, allocations: 51.81 kB / 412.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.3063, allocations: 51.78 kB / 412.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.3065, allocations: 8 kB / 412.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.3066, allocations: 35.91 kB / 412.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.959e-05/0.3067, allocations: 19.86 kB / 412.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.3067, allocations: 4 kB / 412.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.046e-05/0.3068, allocations: 4 kB / 412.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.238e-05/0.3069, allocations: 23.92 kB / 412.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.476e-05/0.3069, allocations: 27.75 kB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.3071, allocations: 55.8 kB / 412.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3071, allocations: 0 / 412.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3071, allocations: 0 / 412.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.3071, allocations: 0 / 412.3 MB, free: 15.15 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.0005702/0.3077, allocations: 376.3 kB / 412.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.3077, allocations: 8.031 kB / 412.7 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002084/0.308, allocations: 28.83 kB / 412.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.3083, allocations: 196.1 kB / 412.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.3083, allocations: 4.375 kB / 412.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.3083, allocations: 8.312 kB / 412.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003071/0.3086, allocations: 121.3 kB / 413.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.3087, allocations: 0 / 413.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.3087, allocations: 0 / 413.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3087, allocations: 0 / 413.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.798e-05/0.3088, allocations: 19.98 kB / 413.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.3091, allocations: 273.7 kB / 413.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.3094, allocations: 146.3 kB / 413.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.094e-05/0.3095, allocations: 33.72 kB / 413.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.3095, allocations: 0 / 413.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.3095, allocations: 34.55 kB / 413.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3095, allocations: 4 kB / 413.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003028/0.3098, allocations: 81.52 kB / 413.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.3099, allocations: 81.11 kB / 413.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.3101, allocations: 140.5 kB / 413.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.3101, allocations: 25.7 kB / 413.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.717e-05/0.3101, allocations: 92.05 kB / 414 MB, free: 13.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.3102, allocations: 4.125 kB / 414 MB, free: 13.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.3102, allocations: 17.72 kB / 414 MB, free: 13.24 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3104, allocations: 318.8 kB / 414.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.731e-05/0.3104, allocations: 8 kB / 414.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.511e-05/0.3105, allocations: 39.36 kB / 414.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.983e-05/0.3106, allocations: 51.3 kB / 414.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3106, allocations: 0 / 414.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001538/0.3107, allocations: 77.45 kB / 414.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.3108, allocations: 8 kB / 414.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3108, allocations: 4.125 kB / 414.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3108, allocations: 0 / 414.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.175e-05/0.3109, allocations: 11.98 kB / 414.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.3109, allocations: 0 / 414.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.558e-05/0.311, allocations: 7.938 kB / 414.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.311, allocations: 4 kB / 414.5 MB, free: 12.68 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.0001306/0.3111, allocations: 121.7 kB / 414.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.025e-05/0.3112, allocations: 53.53 kB / 414.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.878e-05/0.3112, allocations: 16.23 kB / 414.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3113, allocations: 4 kB / 414.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3113, allocations: 0 / 414.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3113, allocations: 0 / 414.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.3115, allocations: 173.6 kB / 414.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3115, allocations: 0 / 414.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.762e-05/0.3115, allocations: 11.98 kB / 414.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3116, allocations: 3.938 kB / 414.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.3116, allocations: 0 / 414.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3116, allocations: 0 / 414.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.3116, allocations: 4 kB / 414.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.3118, allocations: 180.2 kB / 415.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.051e-05/0.3119, allocations: 89.38 kB / 415.2 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.3119, allocations: 0 / 415.2 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.848e-05/0.312, allocations: 4 kB / 415.2 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.312, allocations: 4 kB / 415.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.312, allocations: 0 / 415.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.451e-05/0.3121, allocations: 113.5 kB / 415.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3121, allocations: 4 kB / 415.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002361/0.3124, allocations: 4 kB / 415.3 MB, free: 11.8 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.0001261/0.3125, allocations: 95.25 kB / 415.4 MB, free: 11.7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001583/0.3127, allocations: 35.89 kB / 415.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.3127, allocations: 4 kB / 415.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.272e-05/0.3127, allocations: 16.19 kB / 415.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.3131, allocations: 27.95 kB / 415.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.3135, allocations: 197.2 kB / 415.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.3139, allocations: 0.6924 MB / 416.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.314, allocations: 11.44 kB / 416.4 MB, free: 10.66 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.314, allocations: 0 / 416.4 MB, free: 10.66 MB / 334.1 MB Notification: Performance of Templates: time 0.00236/0.3163, allocations: 0.7721 MB / 417.1 MB, free: 9.883 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches