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.001484/0.001484, allocations: 118.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.002563/0.002563, allocations: 197.2 kB / 18.73 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.418/1.418, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 59.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2772, allocations: 50.56 MB / 408.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002507/0.2798, allocations: 0.8268 MB / 409.6 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003904/0.2802, allocations: 111.7 kB / 409.7 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.2803, allocations: 4 kB / 409.7 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.971e-05/0.2804, allocations: 11.86 kB / 409.7 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.2806, allocations: 15.94 kB / 409.7 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.2808, allocations: 31.91 kB / 409.8 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.2809, allocations: 39.91 kB / 409.8 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.2811, allocations: 23.97 kB / 409.8 MB, free: 492 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.36e-05/0.2811, allocations: 19.86 kB / 409.8 MB, free: 472 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.024e-05/0.2812, allocations: 27.86 kB / 409.9 MB, free: 444 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.2812, allocations: 8 kB / 409.9 MB, free: 436 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.253e-05/0.2812, allocations: 4 kB / 409.9 MB, free: 432 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.2813, allocations: 11.94 kB / 409.9 MB, free: 420 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.216e-05/0.2814, allocations: 35.78 kB / 409.9 MB, free: 384 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.2815, allocations: 51.75 kB / 410 MB, free: 332 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2815, allocations: 4 kB / 410 MB, free: 328 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2815, allocations: 0 / 410 MB, free: 328 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.2815, 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.0005703/0.2821, allocations: 376.8 kB / 410.3 MB, free: 15.9 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.2822, allocations: 12.03 kB / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.886e-05/0.2822, allocations: 50.67 kB / 410.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.2823, allocations: 8.844 kB / 410.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.2825, allocations: 202.9 kB / 410.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.2825, allocations: 4.375 kB / 410.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.2826, allocations: 4.375 kB / 410.6 MB, free: 15.58 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003368/0.2829, allocations: 147.7 kB / 410.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.2829, allocations: 3.938 kB / 410.8 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.2829, allocations: 0 / 410.8 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.283, allocations: 0 / 410.8 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.495e-05/0.283, allocations: 23.98 kB / 410.8 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002566/0.2833, allocations: 169.6 kB / 411 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.2835, allocations: 78.66 kB / 411 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.802e-05/0.2835, allocations: 44.88 kB / 411.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.2836, allocations: 0 / 411.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.2836, allocations: 34.56 kB / 411.1 MB, free: 15.01 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.2836, allocations: 0 / 411.1 MB, free: 15.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002502/0.2839, allocations: 109.6 kB / 411.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.091e-05/0.2839, allocations: 55.66 kB / 411.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.2841, allocations: 145.8 kB / 411.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.2841, allocations: 29.7 kB / 411.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.223e-05/0.2842, allocations: 84.14 kB / 411.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.2842, allocations: 4 kB / 411.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.318e-05/0.2842, allocations: 33.61 kB / 411.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.2844, allocations: 314.8 kB / 411.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.832e-05/0.2844, allocations: 11.98 kB / 411.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.039e-05/0.2845, allocations: 62.81 kB / 411.9 MB, free: 14.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.058e-05/0.2846, allocations: 78.73 kB / 412 MB, free: 13.99 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2846, allocations: 0 / 412 MB, free: 13.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001556/0.2848, allocations: 89.5 kB / 412.1 MB, free: 13.9 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.2848, allocations: 15.86 kB / 412.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.2848, allocations: 256 / 412.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.2848, allocations: 8 kB / 412.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.298e-05/0.2849, allocations: 12 kB / 412.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.2849, allocations: 7.984 kB / 412.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.159e-05/0.285, allocations: 7.906 kB / 412.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.285, 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 0.0001339/0.2852, allocations: 137.6 kB / 412.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.2853, allocations: 77.53 kB / 412.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.593e-05/0.2853, allocations: 16.7 kB / 412.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2853, allocations: 4 kB / 412.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.2854, allocations: 0 / 412.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2854, allocations: 4 kB / 412.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.2855, allocations: 169.7 kB / 412.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2855, allocations: 3.984 kB / 412.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.216e-05/0.2856, allocations: 15.94 kB / 412.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.2856, allocations: 7.938 kB / 412.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.2856, allocations: 0 / 412.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.2856, allocations: 4 kB / 412.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2856, allocations: 0 / 412.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.2858, allocations: 113 kB / 412.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-05/0.2859, allocations: 96.94 kB / 412.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.2859, allocations: 0 / 412.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.264e-05/0.2859, allocations: 4 kB / 412.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-06/0.2859, allocations: 0 / 412.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.286, allocations: 3.984 kB / 412.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.591e-05/0.2861, allocations: 114.2 kB / 412.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2861, allocations: 0 / 412.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002146/0.2863, allocations: 12 kB / 412.9 MB, free: 12.97 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.0005747/0.2869, allocations: 0.6787 MB / 413.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.287, allocations: 48.23 kB / 413.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.2871, allocations: 4.188 kB / 413.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.31e-07/0.2871, allocations: 3.938 kB / 413.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.2874, allocations: 50.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.001219/0.2886, allocations: 1.364 MB / 415.1 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.2889, allocations: 0.7041 MB / 415.8 MB, free: 9.945 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.839e-05/0.289, allocations: 0.6719 kB / 415.8 MB, free: 9.941 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.67e-05/0.289, allocations: 23.38 kB / 415.8 MB, free: 9.918 MB / 334.1 MB Notification: Performance of SimCode: time 1.763e-06/0.289, allocations: 0 / 415.8 MB, free: 9.918 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01779/0.3068, allocations: 1.839 MB / 417.6 MB, free: 8.191 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.409/7.716, allocations: 8.047 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