Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 107.1 kB / 17.74 MB, free: 5.297 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.001918/0.001918, allocations: 188.2 kB / 18.67 MB, free: 4.375 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.425/1.425, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 51.84 kB / 352 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3109, allocations: 49.43 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003406/0.3144, allocations: 1.681 MB / 403.1 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000509/0.3149, allocations: 171.3 kB / 403.3 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.315, allocations: 3.938 kB / 403.3 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.036e-05/0.3151, allocations: 11.88 kB / 403.3 MB, free: 6.996 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.3153, allocations: 7.922 kB / 403.3 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.3156, allocations: 47.83 kB / 403.3 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.3157, allocations: 47.92 kB / 403.4 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.3159, allocations: 31.98 kB / 403.4 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.944e-05/0.3159, allocations: 19.86 kB / 403.4 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.307e-05/0.316, allocations: 31.84 kB / 403.5 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.316, allocations: 4 kB / 403.5 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.332e-05/0.316, allocations: 4 kB / 403.5 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.633e-05/0.3161, allocations: 19.92 kB / 403.5 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.381e-05/0.3161, allocations: 35.73 kB / 403.5 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.3163, allocations: 63.73 kB / 403.6 MB, free: 6.688 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3163, allocations: 3.938 kB / 403.6 MB, free: 6.684 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3163, allocations: 7.938 kB / 403.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3163, allocations: 0 / 403.6 MB, free: 6.676 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005579/0.3169, allocations: 388.3 kB / 404 MB, free: 6.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3169, allocations: 8.031 kB / 404 MB, free: 6.242 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.317, allocations: 12.84 kB / 404 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.3172, allocations: 196.1 kB / 404.2 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.3173, allocations: 8.312 kB / 404.2 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.3173, allocations: 8.375 kB / 404.2 MB, free: 5.984 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003823/0.3177, allocations: 174.3 kB / 404.4 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.3177, allocations: 192 / 404.4 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.3177, allocations: 7.938 kB / 404.4 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.3177, allocations: 7.984 kB / 404.4 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.3179, allocations: 35.91 kB / 404.4 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000433/0.3183, allocations: 365.9 kB / 404.8 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.3186, allocations: 123.7 kB / 404.9 MB, free: 5.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.3187, allocations: 62.66 kB / 405 MB, free: 5.109 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.3187, allocations: 4 kB / 405 MB, free: 5.105 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.576e-05/0.3188, allocations: 38.56 kB / 405 MB, free: 5.059 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.3188, allocations: 0 / 405 MB, free: 5.059 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.000337/0.3191, allocations: 117.5 kB / 405.1 MB, free: 4.938 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.892e-05/0.3192, allocations: 110.9 kB / 405.2 MB, free: 4.805 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.3193, allocations: 137.8 kB / 405.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.3194, allocations: 25.7 kB / 405.4 MB, free: 4.629 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.737e-05/0.3194, allocations: 104.3 kB / 405.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.3195, allocations: 7.906 kB / 405.5 MB, free: 4.516 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.3195, allocations: 25.62 kB / 405.5 MB, free: 4.484 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3196, allocations: 322.8 kB / 405.8 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.194e-05/0.3197, allocations: 15.98 kB / 405.9 MB, free: 4.145 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.901e-05/0.3198, allocations: 71.66 kB / 405.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.32, allocations: 99.53 kB / 406 MB, free: 3.922 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.32, allocations: 0 / 406 MB, free: 3.922 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001809/0.3201, allocations: 101.7 kB / 406.1 MB, free: 3.816 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3202, allocations: 15.92 kB / 406.1 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.3202, allocations: 0 / 406.1 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.3202, allocations: 4 kB / 406.1 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.869e-05/0.3203, allocations: 16.19 kB / 406.2 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.3203, allocations: 4 kB / 406.2 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.185e-05/0.3204, allocations: 15.83 kB / 406.2 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-06/0.3204, allocations: 4 kB / 406.2 MB, free: 3.758 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.3205, allocations: 129.7 kB / 406.3 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.3206, allocations: 73.62 kB / 406.4 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.266e-05/0.3207, allocations: 16.7 kB / 406.4 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3207, allocations: 4 kB / 406.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3207, allocations: 0 / 406.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3207, allocations: 0 / 406.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.3209, allocations: 189.5 kB / 406.6 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.321, allocations: 0 / 406.6 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.803e-05/0.321, allocations: 23.92 kB / 406.6 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.321, allocations: 0 / 406.6 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.3211, allocations: 4 kB / 406.6 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3211, allocations: 8 kB / 406.6 MB, free: 3.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3211, allocations: 0 / 406.6 MB, free: 3.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003709/0.3215, allocations: 316.1 kB / 406.9 MB, free: 2.918 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-05/0.3215, allocations: 96.98 kB / 407 MB, free: 2.805 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.3216, allocations: 7.938 kB / 407 MB, free: 2.797 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.875e-05/0.3217, allocations: 8 kB / 407 MB, free: 2.789 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.3217, allocations: 0 / 407 MB, free: 2.789 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.3217, allocations: 4 kB / 407 MB, free: 2.785 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.489e-05/0.3218, allocations: 110.1 kB / 407.2 MB, free: 2.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3218, allocations: 0 / 407.2 MB, free: 2.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00029/0.3221, allocations: 12 kB / 407.2 MB, free: 2.668 MB / 318.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 (10): * Single equations (assignments): 10 * 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.000125/0.3222, allocations: 108 kB / 407.3 MB, free: 2.555 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.3224, allocations: 59.84 kB / 407.3 MB, free: 2.496 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3225, allocations: 4 kB / 407.3 MB, free: 2.492 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.86e-05/0.3225, allocations: 7.984 kB / 407.3 MB, free: 2.484 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/0.323, allocations: 47.95 kB / 407.4 MB, free: 2.438 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004429/0.3234, allocations: 226.7 kB / 407.6 MB, free: 2.176 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.3238, allocations: 0.7079 MB / 408.3 MB, free: 1.441 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/0.3238, allocations: 15.38 kB / 408.3 MB, free: 1.426 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3238, allocations: 0 / 408.3 MB, free: 1.426 MB / 318.1 MB Notification: Performance of Templates: time 0.002713/0.3265, allocations: 0.915 MB / 409.2 MB, free: 0.5117 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches