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.001669/0.001669, allocations: 122.8 kB / 17.79 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001962/0.001962, allocations: 202 kB / 18.74 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 63.89 kB / 358.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2892, allocations: 50.56 MB / 408.8 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002138/0.2913, allocations: 0.8389 MB / 409.7 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003629/0.2917, allocations: 111.7 kB / 409.8 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.947e-05/0.2918, allocations: 4 kB / 409.8 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.2919, allocations: 11.86 kB / 409.8 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.292, allocations: 7.938 kB / 409.8 MB, free: 0.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.2922, allocations: 39.89 kB / 409.8 MB, free: 472 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.2923, allocations: 35.92 kB / 409.9 MB, free: 436 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.2925, allocations: 27.97 kB / 409.9 MB, free: 408 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.353e-05/0.2925, allocations: 19.86 kB / 409.9 MB, free: 388 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.292e-05/0.2926, allocations: 23.92 kB / 409.9 MB, free: 364 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.2926, allocations: 4 kB / 409.9 MB, free: 360 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.2926, allocations: 4 kB / 409.9 MB, free: 356 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.83e-05/0.2927, allocations: 15.92 kB / 410 MB, free: 340 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.672e-05/0.2927, allocations: 27.81 kB / 410 MB, free: 312 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.2929, allocations: 58.69 kB / 410 MB, free: 256 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2929, allocations: 4 kB / 410.1 MB, free: 252 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2929, allocations: 0 / 410.1 MB, free: 252 kB / 318.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.2929, allocations: 0 / 410.1 MB, free: 252 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.0005451/0.2934, allocations: 375.1 kB / 410.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.2935, allocations: 15.97 kB / 410.4 MB, free: 15.81 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.437e-05/0.2936, allocations: 38.73 kB / 410.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.2936, allocations: 12.84 kB / 410.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.2938, allocations: 196.2 kB / 410.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.2938, allocations: 8.375 kB / 410.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.2939, allocations: 4.375 kB / 410.7 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003071/0.2942, allocations: 143.7 kB / 410.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.2942, allocations: 3.938 kB / 410.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.2942, allocations: 0 / 410.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2942, allocations: 3.938 kB / 410.8 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.583e-05/0.2943, allocations: 31.97 kB / 410.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/0.2945, allocations: 169.6 kB / 411 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.2946, allocations: 78.69 kB / 411.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.125e-05/0.2947, allocations: 44.84 kB / 411.2 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.2947, allocations: 0 / 411.2 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.845e-05/0.2948, allocations: 38.56 kB / 411.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.2948, allocations: 0 / 411.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002248/0.295, allocations: 109.5 kB / 411.3 MB, free: 14.81 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.2951, allocations: 55.34 kB / 411.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.2952, allocations: 149.8 kB / 411.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.2953, allocations: 25.7 kB / 411.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.178e-05/0.2953, allocations: 84.14 kB / 411.6 MB, free: 14.47 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/0.2954, allocations: 4 kB / 411.6 MB, free: 14.47 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.2954, allocations: 29.7 kB / 411.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.2956, allocations: 318.8 kB / 412 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.697e-05/0.2956, allocations: 11.98 kB / 412 MB, free: 14.1 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.101e-05/0.2957, allocations: 54.88 kB / 412 MB, free: 14.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.484e-05/0.2958, allocations: 78.73 kB / 412.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2958, allocations: 0 / 412.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001373/0.296, allocations: 101.4 kB / 412.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.296, allocations: 11.88 kB / 412.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.296, allocations: 4 kB / 412.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.296, allocations: 0 / 412.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.645e-05/0.2961, allocations: 12 kB / 412.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.2961, allocations: 4 kB / 412.2 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.894e-05/0.2961, allocations: 7.938 kB / 412.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.2962, allocations: 12.19 kB / 412.2 MB, free: 13.76 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.0001131/0.2963, allocations: 125.8 kB / 412.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.2964, allocations: 85.67 kB / 412.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.343e-05/0.2964, allocations: 16.7 kB / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.2965, allocations: 0 / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2965, allocations: 4 kB / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2965, allocations: 0 / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.2966, allocations: 173.6 kB / 412.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2966, allocations: 0 / 412.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.589e-05/0.2967, allocations: 20.12 kB / 412.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.2967, allocations: 3.938 kB / 412.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.2967, allocations: 3.938 kB / 412.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.2967, allocations: 4 kB / 412.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2967, allocations: 0 / 412.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.2969, allocations: 109.1 kB / 412.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.297, allocations: 100.9 kB / 412.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.2971, allocations: 4 kB / 412.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.075e-05/0.2971, allocations: 4 kB / 412.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.355e-06/0.2971, allocations: 0 / 412.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.2971, allocations: 4 kB / 412.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.298e-05/0.2972, allocations: 114.1 kB / 413 MB, free: 12.9 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2972, allocations: 0 / 413 MB, free: 12.9 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001996/0.2974, allocations: 8 kB / 413 MB, free: 12.89 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.000556/0.298, allocations: 0.6826 MB / 413.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001239/0.2981, allocations: 47.86 kB / 413.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.2981, allocations: 0 / 413.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.867e-06/0.2981, allocations: 7.922 kB / 413.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.2984, allocations: 47.94 kB / 413.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.2997, allocations: 1.375 MB / 415.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.3, allocations: 0.6963 MB / 415.9 MB, free: 9.863 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.449e-05/0.3001, allocations: 4.672 kB / 415.9 MB, free: 9.855 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.738e-05/0.3001, allocations: 23.42 kB / 415.9 MB, free: 9.832 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3001, allocations: 7.938 kB / 415.9 MB, free: 9.824 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02268/0.3228, allocations: 1.817 MB / 417.7 MB, free: 8.121 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.969/8.292, allocations: 3.938 kB / 417.7 MB, free: 8.117 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.1.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