Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001549/0.001549, allocations: 121.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002115/0.002115, allocations: 204.6 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.89 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2842, allocations: 50.55 MB / 408.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002244/0.2865, allocations: 0.8192 MB / 409.6 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003847/0.2869, allocations: 123.6 kB / 409.7 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.263e-05/0.287, allocations: 4 kB / 409.7 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.982e-05/0.2871, allocations: 7.922 kB / 409.7 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.2872, allocations: 11.94 kB / 409.7 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.2875, allocations: 35.89 kB / 409.8 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.2876, allocations: 39.91 kB / 409.8 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.2877, allocations: 23.98 kB / 409.8 MB, free: 492 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.539e-05/0.2877, allocations: 23.86 kB / 409.8 MB, free: 468 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.708e-05/0.2878, allocations: 19.92 kB / 409.9 MB, free: 448 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.2878, allocations: 4 kB / 409.9 MB, free: 444 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.192e-05/0.2879, allocations: 0 / 409.9 MB, free: 444 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.717e-05/0.2879, allocations: 27.84 kB / 409.9 MB, free: 416 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.064e-05/0.288, allocations: 23.81 kB / 409.9 MB, free: 392 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.2881, allocations: 63.73 kB / 410 MB, free: 328 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2881, allocations: 0 / 410 MB, free: 328 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.2881, allocations: 0 / 410 MB, free: 328 kB / 318.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.2881, allocations: 0 / 410 MB, free: 328 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.00048/0.2886, allocations: 384.8 kB / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.2886, allocations: 8.031 kB / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.194e-05/0.2887, allocations: 38.75 kB / 410.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.2887, allocations: 8.844 kB / 410.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.2889, allocations: 202.7 kB / 410.6 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.289, allocations: 4.375 kB / 410.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.289, allocations: 12.31 kB / 410.6 MB, free: 15.58 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002682/0.2892, allocations: 139.7 kB / 410.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.2893, allocations: 3.938 kB / 410.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.2893, allocations: 4 kB / 410.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.2893, allocations: 0 / 410.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.976e-05/0.2893, allocations: 27.92 kB / 410.8 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001453/0.2895, allocations: 169.6 kB / 411 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.2896, allocations: 78.75 kB / 411 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.523e-05/0.2897, allocations: 48.83 kB / 411.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.2897, allocations: 0 / 411.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.2898, allocations: 34.5 kB / 411.1 MB, free: 15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.2898, allocations: 0 / 411.1 MB, free: 15 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001961/0.29, allocations: 109.6 kB / 411.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.29, allocations: 63.41 kB / 411.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.2902, allocations: 137.8 kB / 411.4 MB, free: 14.67 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.2902, allocations: 29.7 kB / 411.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.449e-05/0.2902, allocations: 84.14 kB / 411.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.2902, allocations: 7.984 kB / 411.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.2903, allocations: 25.62 kB / 411.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.879e-05/0.2904, allocations: 322.8 kB / 411.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.227e-05/0.2904, allocations: 8 kB / 411.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.697e-05/0.2905, allocations: 66.8 kB / 412 MB, free: 14.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.42e-05/0.2906, allocations: 74.75 kB / 412 MB, free: 13.99 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.2906, allocations: 0 / 412 MB, free: 13.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001238/0.2907, allocations: 93.67 kB / 412.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.2907, allocations: 11.94 kB / 412.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.2908, allocations: 0 / 412.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.2908, allocations: 4 kB / 412.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.798e-05/0.2909, allocations: 15.94 kB / 412.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.2909, allocations: 7.984 kB / 412.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.343e-05/0.2909, allocations: 3.906 kB / 412.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.2909, allocations: 4 kB / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 9.324e-05/0.291, allocations: 141.7 kB / 412.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.913e-05/0.2911, allocations: 81.52 kB / 412.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.757e-05/0.2912, allocations: 16.72 kB / 412.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2912, allocations: 0 / 412.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.2912, allocations: 192 / 412.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.2912, allocations: 0 / 412.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.2913, allocations: 177.6 kB / 412.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2913, allocations: 0 / 412.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.604e-05/0.2914, allocations: 12 kB / 412.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.2914, allocations: 3.938 kB / 412.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.2914, allocations: 0 / 412.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.2914, allocations: 7.984 kB / 412.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.2914, allocations: 0 / 412.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.2915, allocations: 117 kB / 412.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.892e-05/0.2916, allocations: 96.94 kB / 412.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.2916, allocations: 0 / 412.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.556e-05/0.2917, allocations: 7.984 kB / 412.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-06/0.2917, allocations: 3.984 kB / 412.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.2917, allocations: 8 kB / 412.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.584e-05/0.2917, allocations: 110.5 kB / 412.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2917, allocations: 0 / 412.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001985/0.2919, allocations: 8 kB / 412.9 MB, free: 12.96 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0004418/0.2924, allocations: 0.6748 MB / 413.6 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001264/0.2925, allocations: 55.97 kB / 413.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2925, allocations: 3.938 kB / 413.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.01e-07/0.2925, allocations: 0 / 413.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.2928, allocations: 44.36 kB / 413.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.294, allocations: 1.374 MB / 415.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.2943, allocations: 0.6963 MB / 415.8 MB, free: 9.945 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.173e-05/0.2944, allocations: 4.672 kB / 415.8 MB, free: 9.938 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.61e-05/0.2944, allocations: 23.42 kB / 415.8 MB, free: 9.914 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2944, allocations: 0 / 415.8 MB, free: 9.914 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0183/0.3127, allocations: 1.841 MB / 417.7 MB, free: 8.184 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.531/7.844, allocations: 1.875 kB / 417.7 MB, free: 8.184 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches