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.001056/0.001056, allocations: 122.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.001204/0.001204, allocations: 202 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.472/1.472, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 55.91 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2918, allocations: 50.55 MB / 408.8 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002692/0.2946, allocations: 0.858 MB / 409.6 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004113/0.295, allocations: 111.7 kB / 409.7 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.65e-05/0.2951, allocations: 0 / 409.7 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.894e-05/0.2952, allocations: 3.938 kB / 409.7 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.2953, allocations: 7.938 kB / 409.7 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.2956, allocations: 39.89 kB / 409.8 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.2958, allocations: 39.91 kB / 409.8 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.2959, allocations: 12 kB / 409.8 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.101e-05/0.296, allocations: 19.92 kB / 409.8 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.605e-05/0.296, allocations: 31.84 kB / 409.9 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.296, allocations: 0 / 409.9 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.306e-05/0.2961, allocations: 4 kB / 409.9 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.15e-05/0.2961, allocations: 15.92 kB / 409.9 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.536e-05/0.2962, allocations: 27.81 kB / 409.9 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.2963, allocations: 55.73 kB / 410 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2963, allocations: 0 / 410 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2963, allocations: 0 / 410 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.2963, allocations: 0 / 410 MB, free: 0.5156 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004369/0.2968, allocations: 376.9 kB / 410.3 MB, free: 100 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.2968, allocations: 12.03 kB / 410.4 MB, free: 88 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.309e-05/0.2969, allocations: 30.75 kB / 410.4 MB, free: 48 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.013e-05/0.2969, allocations: 8.844 kB / 410.4 MB, free: 40 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.2972, allocations: 192.2 kB / 410.6 MB, free: 15.81 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.2972, allocations: 8.375 kB / 410.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.2972, allocations: 4.312 kB / 410.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003071/0.2976, allocations: 131.9 kB / 410.7 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.2976, allocations: 3.938 kB / 410.7 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.2976, allocations: 0 / 410.7 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.2976, allocations: 7.922 kB / 410.7 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.547e-05/0.2977, allocations: 20 kB / 410.8 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.2978, allocations: 169.6 kB / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.298, allocations: 70.66 kB / 411 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.742e-05/0.2981, allocations: 32.89 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.2981, allocations: 4 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.2981, allocations: 30.56 kB / 411.1 MB, free: 15.26 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.2981, allocations: 0 / 411.1 MB, free: 15.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002035/0.2983, allocations: 93.45 kB / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.2984, allocations: 59.72 kB / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.2985, allocations: 137.7 kB / 411.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.2986, allocations: 25.7 kB / 411.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.2986, allocations: 92.12 kB / 411.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.2986, allocations: 0 / 411.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.524e-05/0.2987, allocations: 25.72 kB / 411.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.2988, allocations: 314.8 kB / 411.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.207e-05/0.2988, allocations: 12 kB / 411.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.606e-05/0.2989, allocations: 62.8 kB / 411.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.637e-05/0.299, allocations: 66.81 kB / 411.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.299, allocations: 4 kB / 411.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001499/0.2991, allocations: 97.39 kB / 412 MB, free: 14.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.2992, allocations: 8.188 kB / 412 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.2992, allocations: 8 kB / 412 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.2992, allocations: 0 / 412 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.299e-05/0.2992, allocations: 4 kB / 412 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/0.2992, allocations: 11.92 kB / 412.1 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.7e-05/0.2993, allocations: 4.125 kB / 412.1 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.2993, allocations: 4 kB / 412.1 MB, free: 14.14 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.0001019/0.2994, allocations: 133.7 kB / 412.2 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.2995, allocations: 77.47 kB / 412.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.687e-05/0.2996, allocations: 16.38 kB / 412.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2996, allocations: 0 / 412.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2996, allocations: 0 / 412.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.2996, allocations: 4 kB / 412.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.2997, allocations: 173.5 kB / 412.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2997, allocations: 0 / 412.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.275e-05/0.2998, allocations: 3.938 kB / 412.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.2998, allocations: 3.938 kB / 412.5 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.2998, allocations: 0 / 412.5 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.2998, allocations: 4 kB / 412.5 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2998, allocations: 0 / 412.5 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.2999, allocations: 101.1 kB / 412.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.3, allocations: 92.94 kB / 412.7 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.3, allocations: 7.938 kB / 412.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.587e-05/0.3, allocations: 0 / 412.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-06/0.3, allocations: 0 / 412.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.3001, allocations: 4 kB / 412.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.648e-05/0.3001, allocations: 106.6 kB / 412.8 MB, free: 13.33 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3001, allocations: 4 kB / 412.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002081/0.3003, allocations: 8 kB / 412.8 MB, free: 13.32 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.0004537/0.3008, allocations: 0.6553 MB / 413.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001446/0.301, allocations: 56.34 kB / 413.5 MB, free: 12.58 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.301, allocations: 4 kB / 413.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.21e-07/0.301, allocations: 0 / 413.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.3013, allocations: 38.25 kB / 413.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.3025, allocations: 1.332 MB / 414.9 MB, free: 11.08 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.3027, allocations: 0.6963 MB / 415.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.252e-05/0.3028, allocations: 11.94 kB / 415.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.3028, allocations: 15.44 kB / 415.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of SimCode: time 5.92e-07/0.3028, allocations: 0 / 415.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/0.3228, allocations: 1.738 MB / 417.3 MB, free: 8.707 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.472/7.795, allocations: 3.984 kB / 417.3 MB, free: 8.703 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.0.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