Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.IntegerSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",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.00143/0.00143, allocations: 105.2 kB / 17.06 MB, free: 6.027 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.001438/0.001438, allocations: 196 kB / 18 MB, free: 5.105 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.539/1.539, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001087, allocations: 47.92 kB / 350.8 MB, free: 3.766 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3283, allocations: 49.44 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.004875/0.3333, allocations: 1.502 MB / 401.7 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000683/0.334, allocations: 142.9 kB / 401.9 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.3341, allocations: 6.156 kB / 401.9 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.377e-05/0.3342, allocations: 3.938 kB / 401.9 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001803/0.3344, allocations: 5.094 kB / 401.9 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004097/0.3349, allocations: 38.48 kB / 401.9 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.3351, allocations: 36.8 kB / 402 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.3352, allocations: 15.98 kB / 402 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.061e-05/0.3353, allocations: 11.94 kB / 402 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.448e-05/0.3354, allocations: 15.92 kB / 402 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.3354, allocations: 8 kB / 402 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.535e-05/0.3354, allocations: 0 / 402 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.934e-05/0.3355, allocations: 7.938 kB / 402 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.803e-05/0.3356, allocations: 31.8 kB / 402.1 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.3358, allocations: 47.75 kB / 402.1 MB, free: 6.945 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.849e-06/0.3358, allocations: 4 kB / 402.1 MB, free: 6.941 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3358, allocations: 0 / 402.1 MB, free: 6.941 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.3358, allocations: 0 / 402.1 MB, free: 6.941 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006862/0.3365, allocations: 371.9 kB / 402.5 MB, free: 6.531 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.3366, allocations: 8.031 kB / 402.5 MB, free: 6.523 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.545e-05/0.3367, allocations: 38.75 kB / 402.5 MB, free: 6.477 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/0.3368, allocations: 8.844 kB / 402.5 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003846/0.3372, allocations: 192.2 kB / 402.7 MB, free: 6.242 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.3372, allocations: 4.375 kB / 402.7 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.3372, allocations: 8.312 kB / 402.7 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004312/0.3377, allocations: 117.5 kB / 402.8 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.3377, allocations: 3.938 kB / 402.8 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.3377, allocations: 0 / 402.8 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.3378, allocations: 4 kB / 402.8 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.3379, allocations: 15.98 kB / 402.9 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004656/0.3384, allocations: 265.8 kB / 403.1 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003005/0.3387, allocations: 134.2 kB / 403.2 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.3389, allocations: 37.69 kB / 403.3 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/0.3389, allocations: 0 / 403.3 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.846e-05/0.339, allocations: 42.56 kB / 403.3 MB, free: 5.5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.864e-06/0.339, allocations: 0 / 403.3 MB, free: 5.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004384/0.3394, allocations: 73.52 kB / 403.4 MB, free: 5.422 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.3396, allocations: 85.09 kB / 403.5 MB, free: 5.32 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.3398, allocations: 133.5 kB / 403.6 MB, free: 5.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.855e-05/0.3398, allocations: 25.7 kB / 403.6 MB, free: 5.148 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.832e-05/0.3399, allocations: 96.17 kB / 403.7 MB, free: 5.051 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.235e-05/0.3399, allocations: 0 / 403.7 MB, free: 5.051 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/0.34, allocations: 21.7 kB / 403.8 MB, free: 5.023 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.3402, allocations: 318.8 kB / 404.1 MB, free: 4.703 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.934e-05/0.3402, allocations: 7.984 kB / 404.1 MB, free: 4.695 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.223e-05/0.3403, allocations: 27.44 kB / 404.1 MB, free: 4.656 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.3405, allocations: 55.36 kB / 404.2 MB, free: 4.59 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.3405, allocations: 3.938 kB / 404.2 MB, free: 4.586 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002266/0.3408, allocations: 73.45 kB / 404.2 MB, free: 4.508 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3408, allocations: 8.125 kB / 404.2 MB, free: 4.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3408, allocations: 0 / 404.2 MB, free: 4.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.3409, allocations: 4 kB / 404.2 MB, free: 4.496 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.322e-05/0.341, allocations: 4 kB / 404.2 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.341, allocations: 7.984 kB / 404.3 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.782e-05/0.341, allocations: 3.938 kB / 404.3 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.3411, allocations: 4 kB / 404.3 MB, free: 4.477 MB / 318.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: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * 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.0001279/0.3412, allocations: 117.8 kB / 404.4 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.3414, allocations: 53.53 kB / 404.4 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.459e-05/0.3414, allocations: 16.25 kB / 404.4 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.3414, allocations: 3.938 kB / 404.4 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3415, allocations: 0 / 404.4 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.3415, allocations: 4 kB / 404.4 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/0.3418, allocations: 173.5 kB / 404.6 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.3418, allocations: 4 kB / 404.6 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.555e-05/0.3419, allocations: 11.98 kB / 404.6 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.3419, allocations: 0 / 404.6 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.3419, allocations: 0 / 404.6 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.342, allocations: 0 / 404.6 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.342, allocations: 8 kB / 404.6 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.3423, allocations: 168.2 kB / 404.8 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.813e-05/0.3424, allocations: 89.09 kB / 404.9 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.3424, allocations: 4 kB / 404.9 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.3425, allocations: 0 / 404.9 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.3426, allocations: 0 / 404.9 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.3426, allocations: 8 kB / 404.9 MB, free: 3.719 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001191/0.3427, allocations: 107.2 kB / 405 MB, free: 3.613 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3427, allocations: 0 / 405 MB, free: 3.613 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004186/0.3432, allocations: 4 kB / 405 MB, free: 3.609 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: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * 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.0007227/0.3439, allocations: 0.7095 MB / 405.7 MB, free: 2.871 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002213/0.3441, allocations: 28.02 kB / 405.8 MB, free: 2.844 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3442, allocations: 0 / 405.8 MB, free: 2.844 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.857e-05/0.3442, allocations: 11.92 kB / 405.8 MB, free: 2.832 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005474/0.3448, allocations: 20.02 kB / 405.8 MB, free: 2.812 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.3469, allocations: 1.326 MB / 407.1 MB, free: 1.383 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.3473, allocations: 0.6961 MB / 407.8 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.815e-05/0.3473, allocations: 4 kB / 407.8 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.007e-05/0.3474, allocations: 15.42 kB / 407.8 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3474, allocations: 4 kB / 407.8 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.375, allocations: 1.475 MB / 409.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.36, allocations: 0.625 kB / 409.3 MB, free: 15.27 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches