Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_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.001371/0.001371, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001555/0.001555, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 67.88 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2786, allocations: 50.54 MB / 408.8 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002223/0.2809, allocations: 0.8578 MB / 409.7 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003333/0.2813, allocations: 111.7 kB / 409.8 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.314e-05/0.2813, allocations: 4 kB / 409.8 MB, free: 0.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.483e-05/0.2814, allocations: 7.875 kB / 409.8 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.2815, allocations: 11.92 kB / 409.8 MB, free: 492 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.2818, allocations: 35.91 kB / 409.8 MB, free: 456 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.2819, allocations: 39.97 kB / 409.9 MB, free: 416 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.282, allocations: 19.97 kB / 409.9 MB, free: 396 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.516e-05/0.2821, allocations: 19.81 kB / 409.9 MB, free: 376 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.938e-05/0.2821, allocations: 19.92 kB / 409.9 MB, free: 356 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.2821, allocations: 4 kB / 409.9 MB, free: 352 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.23e-05/0.2821, allocations: 4 kB / 410 MB, free: 348 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.428e-05/0.2822, allocations: 19.92 kB / 410 MB, free: 328 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.734e-05/0.2823, allocations: 23.8 kB / 410 MB, free: 304 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.2824, allocations: 50.91 kB / 410 MB, free: 256 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2824, allocations: 0 / 410 MB, free: 256 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2824, allocations: 0 / 410 MB, free: 256 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.2824, allocations: 0 / 410 MB, free: 256 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.0004394/0.2828, allocations: 371.1 kB / 410.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.2829, allocations: 8.031 kB / 410.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.33e-05/0.2829, allocations: 42.73 kB / 410.5 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.283, allocations: 8.891 kB / 410.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.2833, allocations: 204.1 kB / 410.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.2833, allocations: 384 / 410.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.2833, allocations: 8.375 kB / 410.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.2836, allocations: 127.8 kB / 410.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.2836, allocations: 11.88 kB / 410.8 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.2836, allocations: 4 kB / 410.8 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.2836, allocations: 0 / 410.8 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.542e-05/0.2837, allocations: 15.94 kB / 410.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/0.2839, allocations: 173.6 kB / 411 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.284, allocations: 58.72 kB / 411.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.301e-05/0.2841, allocations: 40.89 kB / 411.1 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.2841, allocations: 4 kB / 411.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.2841, allocations: 34.5 kB / 411.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.2842, allocations: 0 / 411.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001973/0.2844, allocations: 97.55 kB / 411.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.2844, allocations: 55.41 kB / 411.3 MB, free: 14.81 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.2846, allocations: 141.8 kB / 411.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.2846, allocations: 25.7 kB / 411.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.773e-05/0.2846, allocations: 84.14 kB / 411.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.2847, allocations: 11.95 kB / 411.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.2847, allocations: 21.7 kB / 411.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.2848, allocations: 318.8 kB / 411.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.368e-05/0.2849, allocations: 12 kB / 411.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.452e-05/0.2849, allocations: 62.8 kB / 411.9 MB, free: 14.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.709e-05/0.285, allocations: 78.73 kB / 412 MB, free: 13.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2851, allocations: 0 / 412 MB, free: 13.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001247/0.2852, allocations: 85.52 kB / 412.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.2852, allocations: 14.91 kB / 412.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2852, allocations: 0 / 412.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.2852, allocations: 4 kB / 412.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.219e-05/0.2853, allocations: 12.19 kB / 412.1 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.2853, allocations: 3.984 kB / 412.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.105e-05/0.2853, allocations: 7.938 kB / 412.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.2853, allocations: 4 kB / 412.2 MB, free: 13.85 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 (integerConstant.y,xor.y,xor.u2,xor.u1,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.0001198/0.2855, allocations: 125.8 kB / 412.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.2856, allocations: 69.58 kB / 412.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.625e-05/0.2856, allocations: 16.38 kB / 412.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2856, allocations: 0 / 412.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2856, allocations: 0 / 412.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.2857, allocations: 4 kB / 412.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.2858, allocations: 173.6 kB / 412.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2858, allocations: 0 / 412.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.272e-05/0.2858, allocations: 4 kB / 412.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.2859, allocations: 3.938 kB / 412.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.2859, allocations: 0 / 412.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.2859, allocations: 0 / 412.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2859, allocations: 0 / 412.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.286, allocations: 101 kB / 412.6 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.944e-05/0.2861, allocations: 93.05 kB / 412.7 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.2861, allocations: 11.92 kB / 412.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.774e-05/0.2861, allocations: 4 kB / 412.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-06/0.2861, allocations: 3.984 kB / 412.7 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.2862, allocations: 192 / 412.7 MB, free: 13.15 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.752e-05/0.2862, allocations: 106.6 kB / 412.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2862, allocations: 3.938 kB / 412.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002002/0.2865, allocations: 8 kB / 412.9 MB, free: 13.04 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,xor.u1,xor.u2,xor.y,integerConstant.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.000519/0.287, allocations: 0.6709 MB / 413.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000121/0.2871, allocations: 39.92 kB / 413.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2871, allocations: 0 / 413.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.2871, allocations: 0.5625 kB / 413.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.2874, allocations: 58.11 kB / 413.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.2887, allocations: 1.314 MB / 414.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.2891, allocations: 0.6924 MB / 415.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.537e-05/0.2891, allocations: 11.95 kB / 415.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.069e-05/0.2892, allocations: 19.44 kB / 415.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2892, allocations: 0 / 415.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02287/0.3121, allocations: 1.692 MB / 417.4 MB, free: 8.473 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.875/8.187, allocations: 12.42 kB / 417.4 MB, free: 8.465 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches