Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 113.7 kB / 17.74 MB, free: 5.336 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.002072/0.002072, allocations: 189.6 kB / 18.67 MB, free: 4.41 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.478/1.478, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 51.92 kB / 352 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3058, allocations: 49.43 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003392/0.3092, allocations: 1.555 MB / 403 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008904/0.3102, allocations: 470.7 kB / 403.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.006e-05/0.3103, allocations: 4 kB / 403.4 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.871e-05/0.3103, allocations: 7.938 kB / 403.4 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.3105, allocations: 15.8 kB / 403.4 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.3108, allocations: 43.89 kB / 403.5 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.3109, allocations: 39.8 kB / 403.5 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.311, allocations: 11.98 kB / 403.5 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.12e-05/0.3111, allocations: 19.92 kB / 403.6 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.555e-05/0.3112, allocations: 11.94 kB / 403.6 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.3112, allocations: 11.98 kB / 403.6 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.173e-05/0.3112, allocations: 0 / 403.6 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.265e-05/0.3113, allocations: 15.92 kB / 403.6 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.3113, allocations: 23.81 kB / 403.6 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.3114, allocations: 47.81 kB / 403.7 MB, free: 6.602 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3114, allocations: 0 / 403.7 MB, free: 6.602 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.3114, allocations: 3.984 kB / 403.7 MB, free: 6.598 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.3115, allocations: 0 / 403.7 MB, free: 6.598 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005205/0.312, allocations: 368.3 kB / 404 MB, free: 6.195 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.312, allocations: 8.031 kB / 404 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/0.3121, allocations: 12.84 kB / 404.1 MB, free: 6.176 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.3124, allocations: 188.1 kB / 404.2 MB, free: 5.953 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.3124, allocations: 8.312 kB / 404.2 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.3124, allocations: 4.359 kB / 404.2 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.3126, allocations: 101.4 kB / 404.3 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.3127, allocations: 0 / 404.3 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.3127, allocations: 0 / 404.3 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3127, allocations: 0 / 404.3 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.533e-05/0.3128, allocations: 19.97 kB / 404.4 MB, free: 5.805 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003434/0.3131, allocations: 261.7 kB / 404.6 MB, free: 5.496 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.691e-05/0.3132, allocations: 45.22 kB / 404.7 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.16e-05/0.3133, allocations: 21.77 kB / 404.7 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.3133, allocations: 3.938 kB / 404.7 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.3133, allocations: 34.56 kB / 404.7 MB, free: 5.359 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.3133, allocations: 0 / 404.7 MB, free: 5.359 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.000255/0.3136, allocations: 73.52 kB / 404.8 MB, free: 5.281 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.3137, allocations: 77.11 kB / 404.9 MB, free: 5.188 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.3138, allocations: 133.8 kB / 405 MB, free: 5.047 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.3138, allocations: 25.7 kB / 405 MB, free: 5.016 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.266e-05/0.3139, allocations: 92.12 kB / 405.1 MB, free: 4.922 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.399e-05/0.3139, allocations: 0 / 405.1 MB, free: 4.922 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.314, allocations: 21.88 kB / 405.1 MB, free: 4.895 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.3141, allocations: 318.8 kB / 405.4 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.536e-05/0.3141, allocations: 11.98 kB / 405.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.972e-05/0.3142, allocations: 17.72 kB / 405.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.013e-05/0.3143, allocations: 29.64 kB / 405.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3143, allocations: 8 kB / 405.5 MB, free: 4.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001201/0.3144, allocations: 57.67 kB / 405.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.3144, allocations: 4 kB / 405.6 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.3144, allocations: 3.938 kB / 405.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3145, allocations: 0 / 405.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.986e-05/0.3145, allocations: 4 kB / 405.6 MB, free: 4.422 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.3146, allocations: 4 kB / 405.6 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.625e-05/0.3146, allocations: 3.984 kB / 405.6 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.3146, allocations: 64 / 405.6 MB, free: 4.414 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.631e-05/0.3147, allocations: 125.8 kB / 405.7 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.999e-05/0.3148, allocations: 33.61 kB / 405.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.49e-05/0.3148, allocations: 15.86 kB / 405.8 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3148, allocations: 3.938 kB / 405.8 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3148, allocations: 0 / 405.8 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.3148, allocations: 4 kB / 405.8 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.315, allocations: 169.6 kB / 405.9 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.315, allocations: 4 kB / 405.9 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.898e-05/0.3151, allocations: 11.97 kB / 406 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3151, allocations: 0 / 406 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.3151, allocations: 7.984 kB / 406 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3151, allocations: 0 / 406 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3151, allocations: 0 / 406 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.3153, allocations: 156.2 kB / 406.1 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.872e-05/0.3154, allocations: 97.03 kB / 406.2 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.3154, allocations: 0 / 406.2 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.695e-05/0.3155, allocations: 3.984 kB / 406.2 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.3155, allocations: 4 kB / 406.2 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-06/0.3155, allocations: 0 / 406.2 MB, free: 3.684 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.221e-05/0.3156, allocations: 105.9 kB / 406.3 MB, free: 3.582 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3156, allocations: 0 / 406.3 MB, free: 3.582 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.3159, allocations: 4 kB / 406.3 MB, free: 3.578 MB / 318.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 (2): * Single equations (assignments): 2 * 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.0001256/0.316, allocations: 119.8 kB / 406.4 MB, free: 3.453 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001452/0.3162, allocations: 19.98 kB / 406.5 MB, free: 3.434 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3162, allocations: 0 / 406.5 MB, free: 3.434 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.13e-05/0.3162, allocations: 8 kB / 406.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.3166, allocations: 27.27 kB / 406.5 MB, free: 3.402 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003877/0.317, allocations: 181.6 kB / 406.7 MB, free: 3.191 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.3173, allocations: 0.6922 MB / 407.4 MB, free: 2.473 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.241e-05/0.3173, allocations: 11.38 kB / 407.4 MB, free: 2.461 MB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3173, allocations: 0 / 407.4 MB, free: 2.461 MB / 318.1 MB Notification: Performance of Templates: time 0.002203/0.3195, allocations: 0.69 MB / 408.1 MB, free: 1.77 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches