Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 108.6 kB / 17.06 MB, free: 6.016 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.001457/0.001457, allocations: 195.9 kB / 18 MB, free: 5.094 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.495/1.495, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 47.92 kB / 350.8 MB, free: 3.781 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2903, allocations: 49.44 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003006/0.2933, allocations: 1.546 MB / 401.8 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009879/0.2943, allocations: 0.4924 MB / 402.3 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.937e-05/0.2944, allocations: 0 / 402.3 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.879e-05/0.2945, allocations: 3.938 kB / 402.3 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.2946, allocations: 19.86 kB / 402.3 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.2949, allocations: 55.81 kB / 402.3 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.295, allocations: 47.8 kB / 402.4 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.945e-05/0.2951, allocations: 19.97 kB / 402.4 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.543e-05/0.2952, allocations: 19.92 kB / 402.4 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.895e-05/0.2953, allocations: 27.84 kB / 402.5 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.2953, allocations: 4 kB / 402.5 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.155e-05/0.2953, allocations: 0 / 402.5 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.323e-05/0.2954, allocations: 8 kB / 402.5 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.467e-05/0.2954, allocations: 27.8 kB / 402.5 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.2955, allocations: 54.7 kB / 402.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2955, allocations: 4 kB / 402.6 MB, free: 6.512 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2956, allocations: 0 / 402.6 MB, free: 6.512 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.2956, allocations: 0 / 402.6 MB, free: 6.512 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005208/0.2961, allocations: 389.9 kB / 402.9 MB, free: 6.086 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.2961, allocations: 8.031 kB / 402.9 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.882e-05/0.2962, allocations: 34.75 kB / 403 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.197e-05/0.2962, allocations: 16.83 kB / 403 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.2965, allocations: 192.2 kB / 403.2 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.2965, allocations: 8.375 kB / 403.2 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.2965, allocations: 4.375 kB / 403.2 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.2968, allocations: 105.2 kB / 403.3 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.2968, allocations: 0 / 403.3 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.2969, allocations: 0 / 403.3 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.2969, allocations: 4 kB / 403.3 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.13e-05/0.297, allocations: 23.92 kB / 403.3 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003648/0.2973, allocations: 269.7 kB / 403.6 MB, free: 5.316 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.2974, allocations: 37.16 kB / 403.6 MB, free: 5.262 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.035e-05/0.2975, allocations: 29.77 kB / 403.7 MB, free: 5.227 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.2975, allocations: 0 / 403.7 MB, free: 5.227 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.2976, allocations: 30.56 kB / 403.7 MB, free: 5.188 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.2976, allocations: 0 / 403.7 MB, free: 5.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.000265/0.2979, allocations: 69.61 kB / 403.7 MB, free: 5.113 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.562e-05/0.2979, allocations: 81.36 kB / 403.8 MB, free: 5.016 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.2981, allocations: 142.1 kB / 404 MB, free: 4.863 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.2981, allocations: 29.7 kB / 404 MB, free: 4.828 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.2982, allocations: 84.14 kB / 404.1 MB, free: 4.742 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.399e-05/0.2982, allocations: 0 / 404.1 MB, free: 4.742 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.2982, allocations: 21.67 kB / 404.1 MB, free: 4.715 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.2984, allocations: 322.7 kB / 404.4 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.236e-05/0.2984, allocations: 16 kB / 404.4 MB, free: 4.375 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.022e-05/0.2985, allocations: 17.7 kB / 404.4 MB, free: 4.352 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.113e-05/0.2986, allocations: 29.7 kB / 404.5 MB, free: 4.316 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2986, allocations: 0 / 404.5 MB, free: 4.316 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001214/0.2987, allocations: 57.72 kB / 404.5 MB, free: 4.254 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.2987, allocations: 4 kB / 404.5 MB, free: 4.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.2987, allocations: 4 kB / 404.5 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.2988, allocations: 3.938 kB / 404.5 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.682e-05/0.2988, allocations: 7.984 kB / 404.6 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.2988, allocations: 0 / 404.6 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.736e-05/0.2989, allocations: 7.938 kB / 404.6 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.2989, allocations: 0 / 404.6 MB, free: 4.227 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 0.0001036/0.299, allocations: 121.8 kB / 404.7 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.369e-05/0.2991, allocations: 49.61 kB / 404.7 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.152e-05/0.2991, allocations: 11.88 kB / 404.7 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2991, allocations: 0 / 404.7 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.2991, allocations: 3.938 kB / 404.7 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.2991, allocations: 0 / 404.7 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.2993, allocations: 177.6 kB / 404.9 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.2993, allocations: 0 / 404.9 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.675e-05/0.2994, allocations: 7.984 kB / 404.9 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.2994, allocations: 0 / 404.9 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.2994, allocations: 0 / 404.9 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2994, allocations: 4.031 kB / 404.9 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.2994, allocations: 4 kB / 404.9 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.2996, allocations: 164.2 kB / 405.1 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/0.2997, allocations: 89.05 kB / 405.2 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.2997, allocations: 4 kB / 405.2 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.421e-05/0.2998, allocations: 0 / 405.2 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.2998, allocations: 8.016 kB / 405.2 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.2998, allocations: 4 kB / 405.2 MB, free: 3.484 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.133e-05/0.2999, allocations: 113.8 kB / 405.3 MB, free: 3.375 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2999, allocations: 0 / 405.3 MB, free: 3.375 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002204/0.3002, allocations: 4 kB / 405.3 MB, free: 3.371 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.0006316/0.3008, allocations: 0.6976 MB / 406 MB, free: 2.645 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001689/0.301, allocations: 23.92 kB / 406 MB, free: 2.621 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.301, allocations: 0 / 406 MB, free: 2.621 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.235e-05/0.301, allocations: 8 kB / 406 MB, free: 2.613 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.3014, allocations: 19.42 kB / 406.1 MB, free: 2.598 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.3029, allocations: 1.312 MB / 407.4 MB, free: 1.195 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.3032, allocations: 0.6961 MB / 408.1 MB, free: 484 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.271e-05/0.3033, allocations: 4.031 kB / 408.1 MB, free: 480 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.743e-05/0.3033, allocations: 15.44 kB / 408.1 MB, free: 464 kB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3033, allocations: 4 kB / 408.1 MB, free: 460 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.3283, allocations: 1.535 MB / 409.6 MB, free: 15.03 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.592/8.921, allocations: 7.188 kB / 409.6 MB, free: 15.03 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches