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.0009839/0.0009839, allocations: 92.2 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001245/0.001245, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.219/1.219, allocations: 227.7 MB / 246.8 MB, free: 9.684 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002222/0.0002221, allocations: 8 kB / 307.8 MB, free: 0.4961 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08356/0.0838, allocations: 51.51 MB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.001176/0.08502, allocations: 0.5784 MB / 359.9 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003259/0.08537, allocations: 103.7 kB / 360 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.951e-05/0.08546, allocations: 4 kB / 360 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.948e-05/0.08549, allocations: 7.922 kB / 360 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.0856, allocations: 4 kB / 360.1 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.08582, allocations: 39.53 kB / 360.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.375e-05/0.08592, allocations: 35.97 kB / 360.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.08604, allocations: 27.91 kB / 360.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.222e-05/0.08608, allocations: 19.86 kB / 360.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.402e-05/0.08612, allocations: 7.938 kB / 360.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.08615, allocations: 0 / 360.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.848e-06/0.08616, allocations: 0 / 360.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.786e-05/0.08622, allocations: 19.92 kB / 360.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.652e-05/0.08627, allocations: 45.52 kB / 360.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.529e-05/0.08637, allocations: 47.78 kB / 360.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.08639, allocations: 0 / 360.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.0864, allocations: 4 kB / 360.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.08641, allocations: 0 / 360.3 MB, free: 12.04 MB / 302.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.000391/0.0868, allocations: 355.6 kB / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.08685, allocations: 8.031 kB / 360.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.818e-05/0.08689, allocations: 42.75 kB / 360.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.624e-05/0.08692, allocations: 16.69 kB / 360.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.0871, allocations: 188.2 kB / 360.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.08712, allocations: 384 / 360.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.08714, allocations: 8.375 kB / 360.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.08738, allocations: 135.8 kB / 361 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.0874, allocations: 3.938 kB / 361 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.08741, allocations: 0 / 361 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.08742, allocations: 0 / 361 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.131e-05/0.08747, allocations: 19.92 kB / 361.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000139/0.08761, allocations: 177.5 kB / 361.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.08775, allocations: 66.7 kB / 361.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.558e-05/0.08781, allocations: 40.89 kB / 361.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.08783, allocations: 0 / 361.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.08786, allocations: 34.56 kB / 361.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 2.104e-06/0.08786, allocations: 0 / 361.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.000174/0.08804, allocations: 97.41 kB / 361.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.0881, allocations: 55.41 kB / 361.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.08821, allocations: 140.2 kB / 361.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.08823, allocations: 29.7 kB / 361.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.61e-05/0.08827, allocations: 80.14 kB / 361.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.08829, allocations: 8 kB / 361.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.08833, allocations: 21.7 kB / 361.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.08844, allocations: 310.8 kB / 362.1 MB, free: 10 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.84e-05/0.08847, allocations: 12 kB / 362.1 MB, free: 9.992 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.203e-05/0.08852, allocations: 62.8 kB / 362.2 MB, free: 9.906 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.14e-05/0.08862, allocations: 66.81 kB / 362.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.08863, allocations: 0 / 362.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001205/0.08875, allocations: 97.48 kB / 362.3 MB, free: 9.715 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.08878, allocations: 11.94 kB / 362.3 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.08879, allocations: 0 / 362.3 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.08881, allocations: 4 kB / 362.3 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.138e-05/0.08883, allocations: 7.938 kB / 362.4 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.08884, allocations: 0 / 362.4 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.255e-05/0.08888, allocations: 7.984 kB / 362.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.08889, allocations: 4 kB / 362.4 MB, free: 9.68 MB / 302.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 9.253e-05/0.08899, allocations: 129.9 kB / 362.5 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.249e-05/0.08908, allocations: 81.45 kB / 362.6 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.08912, allocations: 16.36 kB / 362.6 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.08913, allocations: 0 / 362.6 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.08913, allocations: 0 / 362.6 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.08914, allocations: 0 / 362.6 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.08924, allocations: 169.6 kB / 362.8 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.08925, allocations: 0 / 362.8 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.227e-06/0.08927, allocations: 4 kB / 362.8 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.08927, allocations: 3.938 kB / 362.8 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.08928, allocations: 192 / 362.8 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.08929, allocations: 4 kB / 362.8 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.0893, allocations: 3.938 kB / 362.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.08944, allocations: 109.3 kB / 362.9 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.809e-05/0.08951, allocations: 92.94 kB / 363 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.08954, allocations: 15.92 kB / 363 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.462e-05/0.08956, allocations: 3.938 kB / 363 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.335e-06/0.08957, allocations: 0 / 363 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.08957, allocations: 0 / 363 MB, free: 8.957 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.407e-05/0.08964, allocations: 107.3 kB / 363.1 MB, free: 8.852 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.08965, allocations: 0 / 363.1 MB, free: 8.852 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000189/0.08984, allocations: 8 kB / 363.1 MB, free: 8.844 MB / 302.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.0004325/0.09028, allocations: 0.6592 MB / 363.8 MB, free: 8.152 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001011/0.09039, allocations: 43.98 kB / 363.8 MB, free: 8.109 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.0904, allocations: 0 / 363.8 MB, free: 8.109 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.09041, allocations: 0 / 363.8 MB, free: 8.109 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.0907, allocations: 43.95 kB / 363.8 MB, free: 8.066 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009741/0.09168, allocations: 1.337 MB / 365.2 MB, free: 6.598 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.09192, allocations: 0.6937 MB / 365.9 MB, free: 5.879 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.758e-05/0.09195, allocations: 3.953 kB / 365.9 MB, free: 5.875 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.09199, allocations: 19.42 kB / 365.9 MB, free: 5.859 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.09199, allocations: 0 / 365.9 MB, free: 5.859 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0101/0.1021, allocations: 1.462 MB / 367.4 MB, free: 4.551 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/0.1023, allocations: 219.6 kB / 367.6 MB, free: 4.289 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.654/1.756, allocations: 0 / 367.6 MB, free: 4.289 MB / 302.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